Changes between Version 8 and Version 9 of Annotations


Ignore:
Timestamp:
Oct 14, 2008 7:52:55 AM (7 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Annotations

    v8 v9  
    8888-- For normal GHC API users:
    8989getAnnotations :: (Typeable a, Binary a) => Name -> GHCM [a]
    90 
    91 -- Only for plugins adding their own annotations:
     90   -- Get the annotations for an arbitrary Name
     91
    9292getAnnotations :: (Typeable a, Binary a) => Name -> CoreM [a]
     93   -- Allows a plugin to get the annotations for any Name
     94   -- whether defined locally or imported
     95
    9396putAnnotations :: (Typeable a, Binary a) => Name -> a -> CoreM ()
     97   -- Allows a plugin to add its own annotation
     98   -- e.g. the results of an analysis
     99   -- The Name must be from the module being compiled; the
     100   -- annotation is persisted into the interface file.
    94101}}}
    95102