Skip to content

ghci should show haddock comments for identifier

This came up in comp.lang.haskell recently: http://groups.google.com/group/comp.lang.haskell/msg/ae69f720377e7a3f

I like the idea.

Immediate thoughts:

  • if ghci reads the source file, it can read haddock annotations

  • if ghci reads the interface file only (for library modules),

    it needs to find the installed documentation

On the other hand the requested feature is a typical IDE functionality (cf. Eclipse/show source/show javadoc) and it's perhaps a bit much to require that from ghci.

Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information