[GHC] #13743: Colourise command output
GHC
ghc-devs at haskell.org
Mon May 22 18:11:34 UTC 2017
#13743: Colourise command output
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
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 Iceland_jack):
TODO create a command to get a simplified output
{{{#!html
<pre>
>>> :sinfo Int
data <span style="color: red;font-weight: bold">Int</span> = I# E.Int#
<span style="font-weight: bold">Eq</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Ord</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Show</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Read</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Enum</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Num</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Real</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">NFData</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Data</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Bounded</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Outputable</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">PrintfArg</span> <span style="color: red
;font-weight: bold">Int</span>
<span style="font-weight: bold">Integral</span> <span style="color: red
;font-weight: bold">Int</span>
</pre>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13743#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list