neat-0.1.0: A Fast Retargetable Template Engine

Safe HaskellNone

Text.Neat.Output

Documentation

list :: Foldable t => t a -> [a]Source

class Zero a whereSource

Methods

zero :: a -> BoolSource

Instances

Zero Bool 
Zero Char 
(Num a, Eq a) => Zero a 
Zero [a] 
Zero (Maybe a) 

join :: (Output a, Output b) => a -> [b] -> StringSource

trim :: Output a => a -> StringSource

nest :: Output a => a -> StringSource

unless :: (Zero a, Output a, Output b) => a -> b -> StringSource

append :: (Output a, Output b) => a -> b -> StringSource

prepend :: (Output a, Output b) => a -> b -> StringSource