[GHC] #8642: Allow GHCi to print non-pretty forms of things.
GHC
ghc-devs at haskell.org
Mon Dec 30 22:47:54 UTC 2013
#8642: Allow GHCi to print non-pretty forms of things.
------------------------------------+-------------------------------------
Reporter: Fuuzetsu | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.7
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
Currently when we ask GHCi for :info or :type of something, it will do
things like splitting over multiple lines and all that eye candy that
people like to see. This however makes it more difficult for people to
write text editor plugins &c that rely on GHCi output.
Currently one has to write parsers to stitch the GHCi output back together
which is fairly error prone and not really future-proof.
Is there any chance for a more machine-friendly output?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8642>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list