
#12895: Lookup rules associated with functions/values in GHCI -------------------------------------+------------------------------------- Reporter: harpocrates | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Sounds about right. You should think of `IfaceSyn` as simply a tree full of strings that is the result of parsing the bits in an interface file. It's not suitable for anythingn except printing. `TcIface` converts `IfaceSyn` to `CoreSyn`, `CoreRule`, `TyCon` etc. I suggest you work with `CoreRules`. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12895#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler