[Haskell-cafe] Haskell type declaration summary

Brandon Allbery allbery.b at gmail.com
Thu May 4 16:22:39 UTC 2017


>From source you'd be looking at using haskell-src-exts. Alternately:

- echo :browse | ghci foo.hs

- compile it, dump the .hi file (ghc --show-iface foo.hi) likely with
postprocessing to only show the types

On Thu, May 4, 2017 at 3:30 AM, Andrew Butterfield <
Andrew.Butterfield at scss.tcd.ie> wrote:

> Dear Haskellers,
>  any quick and easy way to extract all the type declarations from a
> Haskell source file?
> (for easy reference)
>
> Regards,
>
> Andrew Butterfield
> School of Computer Science & Statistics
> Trinity College
> Dublin 2, Ireland
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.




-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170504/018e0ff4/attachment.html>


More information about the Haskell-Cafe mailing list