ekmett / wl-pprint-extras

A free monad based on the Wadler/Leijen pretty printer
http://hackage.haskell.org/package/wl-pprint-extras
Other
8 stars 9 forks source link

Misc improvements to annotations #12

Closed nwf closed 9 years ago

nwf commented 9 years ago

Add fmapAnn :: (a -> a') -> Doc a e -> Doc a' e. Add annotation functions to Free, rather than just Free.Internal.