-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add explicit use statement for non-prelude functions to examples #604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
We can do that. Would you do it for all multi-line examples or only here with the |
I’m thinking all of the multi line examples to make it clear what is input and what is output. |
Just be aware that there might be multi-line expressions which should not be formatted this way. So something like
should not be rendered as
because it needs to be entered as a single line. The easiest (and possibly best?) option might be to get rid of the |
Yes, it would not be straight forward to distinguish those cases.
I think the |
But we also have an indented equals sign for the outputs. So we would go from
to
I don't really see a problem with that. I think I even prefer the latter one. Some users might not immediately understand that |
Yes that's true as well, I think it's fine to remove it then. |
Resolves #602.