Ticket #2168 (new feature request)
ghci should show haddock comments for identifier
| Reported by: | j.waldmann | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 7.6.2 |
| Component: | GHCi | Version: | 6.8.2 |
| Keywords: | Cc: | claus, pho@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by igloo) (diff)
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.
Change History
Note: See
TracTickets for help on using
tickets.
