File: UsingToMap.dhall

package info (click to toggle)
haskell-dhall 1.42.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,712 kB
  • sloc: haskell: 24,777; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
{-  At one point the Haskell implementation permitted this idiom, which was not
    standards-compliant

    The problem with the following expression is that the argument to `using`
    is parsed as a `completionExpression`, which means that any use of `toMap`
    within a `using` clause must be parenthesized
-}
https://example.com using toMap { Foo = "Bar" }