repa-array-4.1.0.1: Bulk array representations and operators.

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Repa.Nice.Display

Synopsis

Documentation

data Display Source

How a given value should be displayed.

Constructors

Display Format Int 

data Format Source

Common display formats.

Constructors

FormatNumeric 
FormatText 

Instances

display :: Display -> Text -> Text Source

Display a string with the given mode.

takeDisplay :: Text -> Display Source

Examine a string to decide how we should display it.

padL :: Int -> Text -> Text Source

Left justify some text in a column of the given width.

padR :: Int -> Text -> Text Source

Right justify some text in a column of the given width.