purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellSafe
LanguageHaskell2010

Language.PureScript.Publish.BoxesHelpers

Synopsis

Documentation

data Box :: * #

The basic data type. A box has a specified size and some sort of contents.

Instances

Show Box 

Methods

showsPrec :: Int -> Box -> ShowS #

show :: Box -> String #

showList :: [Box] -> ShowS #

IsString Box

Convenient ability to use bare string literals as boxes.

Methods

fromString :: String -> Box #

nullBox :: Box #

The null box, which has no content and no size. It is quite useless.

vcat :: [Box] -> Box Source #

bulletedList :: (a -> String) -> [a] -> [Box] Source #

bulletedListT :: (a -> Text) -> [a] -> [Box] Source #