Positional cues or not

Manuel M. T. Chakravarty chak@cse.unsw.edu.au
Sat, 10 Feb 2001 12:08:14 +1100


Simon Marlow <simonmar@microsoft.com> wrote,

> I don't particularly care whether the convention is {--- -} or {-# DOC
> #-} (with a slight preference for the latter, because it is consistent
> with existing conventions).

Let me re-iterate.  I really think, there should be a
variant for consecutive chunks of -- comments, too.  The
latter are better handled by Emacs' font-locking and I don't
really want to compromise on the visual presentation in the
editor.  For example,

  -- --
  -- This is a great function
  -- that I use a lot
  foo :: ..

could be equivalent to

  {----
     This is a great function
     that I use a lot
  -}
  foo :: ..

Cheers,
Manuel