GHCi in colour

From HaskellWiki
Revision as of 07:37, 14 December 2006 by DonStewart (talk | contribs) (ui)
Jump to navigation Jump to search

This page documents efforts to colourise GHCi output.

Example

   Colour-ghci.png

Or a type error:

   Coloured-error.png

Output like this would be the result of running, for example:

   ghci --colour

and would appear in the console/xterm as ansi terminal coloured output.

Implementation

Using HsColour

An existing tool, HsColour, could be modified to operate interactively.

GuiHaskell

Neil Mitchell has a prototype gui haskell wrapper, based on gtk. Does this contain a reasonable ghci wrapper we could steal?


If you have an idea of how to do this nicely, add your proposal here.