We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cf. #57
In Haskell, literal string syntax for multiple lines is cumbersome.
"case x of\n" <> " Foo -> 1\n" <> " Bar x -> 2"
Now, here-docs are introduced ( #57 ), but they are not suitable for multiple line strings because their indentation is not smart.
it "data constructor" $ parseExpr [rawS|case x of Foo -> 1 Bar x -> 2|] `shouldParse` -- ...
This is unclear and ugly!
New here-docs like below is desired.
[multiline|case x of | Foo -> 1 | Bar x -> 2 |]
The text was updated successfully, but these errors were encountered:
ikngtty
No branches or pull requests
cf. #57
In Haskell, literal string syntax for multiple lines is cumbersome.
Now, here-docs are introduced ( #57 ), but they are not suitable for multiple line strings because their indentation is not smart.
This is unclear and ugly!
New here-docs like below is desired.
[multiline|case x of | Foo -> 1 | Bar x -> 2 |]
The text was updated successfully, but these errors were encountered: