Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- module Language.Haskell.HsColour.ColourHighlight
- data ColourPrefs = ColourPrefs {}
- readColourPrefs :: IO ColourPrefs
- defaultColourPrefs :: ColourPrefs
- colourise :: ColourPrefs -> TokenType -> [Highlight]
Documentation
data ColourPrefs Source #
Colour preferences.
Instances
Read ColourPrefs Source # | |
Defined in Language.Haskell.HsColour.Colourise readsPrec :: Int -> ReadS ColourPrefs # readList :: ReadS [ColourPrefs] # readPrec :: ReadPrec ColourPrefs # readListPrec :: ReadPrec [ColourPrefs] # | |
Show ColourPrefs Source # | |
Defined in Language.Haskell.HsColour.Colourise showsPrec :: Int -> ColourPrefs -> ShowS # show :: ColourPrefs -> String # showList :: [ColourPrefs] -> ShowS # | |
Eq ColourPrefs Source # | |
Defined in Language.Haskell.HsColour.Colourise (==) :: ColourPrefs -> ColourPrefs -> Bool # (/=) :: ColourPrefs -> ColourPrefs -> Bool # |
readColourPrefs :: IO ColourPrefs Source #
Read colour preferences from .hscolour file in the current directory, or failing that, from $HOME/.hscolour, and failing that, returns a default set of prefs.