Changes between Version 10 and Version 11 of Annotations


Ignore:
Timestamp:
Oct 16, 2008 10:46:56 AM (7 years ago)
Author:
batterseapower
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Annotations

    v10 v11  
    220220}}}
    221221
     222 * Also syntax related, we could provide a positional syntax. SPJ suggests that the annotations should be hung on the type signature rather than the definition because the definition must be spread out, whereas the type signature occurs in precisely one place. This might make the above example even nicer:
     223
     224{{{
     225{-@ Just "My Annotation" @-}
     226f :: ...
     227}}}
     228
    222229 * '''(Only in SoC implementation)''' Plugins cannot currently add further annotations during compilation that will be compiled into the result. I.e. any annotations they add are transient and disappear at the end of that particular run of the Core pipeline.
    223230