futhark-0.20.0: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Futhark.Util.Console

Description

Some utility functions for working with pretty console output.

Synopsis

Documentation

color :: [SGR] -> String -> String Source #

Surround the given string with the given start/end colour codes.

inRed :: String -> String Source #

Make the string red.

inGreen :: String -> String Source #

Make the string green.

inBold :: String -> String Source #

Make the string bold.