Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Black | |
Blue | |
Green | |
Cyan | |
Red | |
Magenta | |
Brown | |
Gray | |
DarkGray | |
LightBlue | |
LightGreen | |
LightCyan | |
LightRed | |
LightMagenta | |
Yellow | |
White | |
NoColor |
newtype ColorString Source #
Instances
Eq ColorString Source # | |
Defined in Test.Framework.Colors (==) :: ColorString -> ColorString -> Bool # (/=) :: ColorString -> ColorString -> Bool # | |
Read ColorString Source # | |
Defined in Test.Framework.Colors readsPrec :: Int -> ReadS ColorString # readList :: ReadS [ColorString] # readPrec :: ReadPrec ColorString # readListPrec :: ReadPrec [ColorString] # | |
Show ColorString Source # | |
Defined in Test.Framework.Colors showsPrec :: Int -> ColorString -> ShowS # show :: ColorString -> String # showList :: [ColorString] -> ShowS # | |
IsString ColorString Source # | |
Defined in Test.Framework.Colors fromString :: String -> ColorString # |
data PrimColorString Source #
Instances
Eq PrimColorString Source # | |
Defined in Test.Framework.Colors (==) :: PrimColorString -> PrimColorString -> Bool # (/=) :: PrimColorString -> PrimColorString -> Bool # | |
Read PrimColorString Source # | |
Defined in Test.Framework.Colors | |
Show PrimColorString Source # | |
Defined in Test.Framework.Colors showsPrec :: Int -> PrimColorString -> ShowS # show :: PrimColorString -> String # showList :: [PrimColorString] -> ShowS # |
warningColor :: Color Source #
testOkColor :: Color Source #
pendingColor :: Color Source #
(+++) :: ColorString -> ColorString -> ColorString infixr 5 Source #
unlinesColorString :: [ColorString] -> ColorString Source #
colorStringFind :: (Char -> Bool) -> ColorString -> Bool -> Maybe Char Source #
colorizeText :: Color -> Text -> ColorString Source #
colorizeText' :: Color -> Text -> Text -> ColorString Source #
noColor :: String -> ColorString Source #
noColorText :: Text -> ColorString Source #
noColorText' :: Text -> Text -> ColorString Source #
renderColorString :: ColorString -> Bool -> Text Source #
maxLength :: ColorString -> Int Source #