2008/10/14 Ian Lynagh <[EMAIL PROTECTED]>:
> On Mon, Oct 13, 2008 at 06:06:03PM +0100, Max Bolingbroke wrote:
>>
>> (http://hackage.haskell.org/trac/ghc/wiki/Annotations).
>
> When you say
>    {-# ANN f id 1 #-}
> this means you are attaching (id 1) to f, right?
>
> I think that that syntax is very confusing. I'm not sure what I'd prefer
> though. Maybe parentheses, analogous to those in
>    instance C (Maybe a)

While we're on syntax, do you really need to refer to f? Can't it work
like Haddock comments, where the comment applies to the next
declaration?

David

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to