Proposed annotation system + dependency issue
David Waern
david.waern at gmail.com
Wed Oct 15 05:25:12 EDT 2008
2008/10/14 Ian Lynagh <igloo at earth.li>:
> 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
More information about the Cvs-ghc
mailing list