[Haskell-cafe] Comment Syntax

Daniel Schoepe daniel.schoepe at googlemail.com
Fri Jun 3 12:32:23 CEST 2011

On Fri, 03 Jun 2011 12:19:31 +0300, Guy <guytsalmaves-h at yahoo.com> wrote:
> On 03/06/2011 12:01, Malcolm Wallace wrote:
> > I believe the motivating example that persuaded the Language Committee to allow these symbols was
> >       -->
> > which is not of course used anywhere in the standard libraries, but is an extremely nice symbol to have available in user code.
> Seeing as no library actually defines such a symbol, is it worth forcing an extra space into comments? [..]

That's not true, xmonad[0] for example defines a -->-operator; and I
would find making exceptions for --| and --^ very inconsistent and

[0] http://xmonad.org/xmonad-docs/xmonad/XMonad-ManageHook.html#v%3A--%3E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110603/f4b66397/attachment.pgp>

More information about the Haskell-Cafe mailing list