[Haskell-cafe] Comment Syntax

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Jun 3 10:59:19 CEST 2011


On 3 June 2011 18:32, Guy <guytsalmaves-h at yahoo.com> wrote:
> -- followed by a symbol does not start a comment, thus for example, haddock
> declarations must begin with -- |, and not --|.
>
> What might --| mean, if not a comment? It doesn't seem possible to define it
> as an operator.

Sure you can; --| is a valid operator.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list