Skip to content
New issue

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

Better multiline strings #437

Closed
casey opened this issue May 14, 2019 · 1 comment
Closed

Better multiline strings #437

casey opened this issue May 14, 2019 · 1 comment

Comments

@casey
Copy link
Owner

casey commented May 14, 2019

It is currently hard to construct nice multiline strings. If you want "foo\nbar\nbaz" it would be nice to be able to do:

x := '
foo
bar
baz
'

But if you do that you get "\nfoo\nbar\nbaz\n".

I think we should have a better way of writing multiline string literals, as in nix.

@casey casey added this to the eventually milestone May 27, 2019
@casey casey removed this from the eventually milestone Jul 2, 2020
@casey
Copy link
Owner Author

casey commented Apr 6, 2021

Fixed in #793!

@casey casey closed this as completed Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant