dhall-haskell/dhall/tests/normalization/success/multiline/hangingIndentA.dhall

16 lines
476 B
Plaintext

{- The indent is computed as the minimum number of leading spaces over all lines
in a multi-line literal, including the line right before the closing quotes.
In this case, there are three lines:
* The first line containing " foo" with two leading spaces
* The second line containing " bar" with two leading spaces
* The third line containing " " with two leading spaces
Therefore we strip two leading spaces from all three lines
-}
''
foo
bar
''