1
votes

I'd like to know how to make comments in PureScript code.

In Python, the equivalent would be:

# Here is a comment

Or JavaScript

// Another comment

What is the equivalent in PureScript?

2

2 Answers

4
votes

According to the PureScript Language Reference, there are single-line comments

-- comment

and multi-line comments

{- comment
   comment line 2
-}

Special comments like -- | are picked up by documentation tooling.

1
votes

I believe you can do: -- some somment