Question

I'm learning ML, with the SML/NJ dialect. What I'm trying to figure out is if there is a line comment operator. I found the block comment operator, (* ... *), but I really miss line comments.

Suggestions? Or am I just stuck with block comments?

Was it helpful?

Solution

You're stuck with block comments.

On the other hand, block comments can be nested: (* (* *) still comment here *)

OTHER TIPS

There is a RFC for line comments, which proposes a hashmark followed by a whitespace.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top