roc-lang / examples

All kinds of Roc examples

Home Page:https://www.roc-lang.org/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example suggestion: Multi-line comments

Anton-4 opened this issue · comments

There is no multi-line comment syntax in Roc, you'll need to use # before every line. This is necessary to allow roc programs to be used as bash scripts. Most editors allow you to comment several lines at once using a shortcut like Ctrl+/ on vscode.

It's a bit strange to have an example that basically says "there is no multi-line comment syntax" but I think it's useful when searching for answers.

I have created a PR for this, please check and let me know if there's any modification needed