ProxN-0.0.1: Proximity sets in N dimensions

Data.ProxN.Pretty

Documentation

class Pretty p whereSource

Methods

prettyPrint :: p -> PrettyM ()Source

pretty :: (String -> String) -> p -> StringSource

prettySimp :: p -> StringSource

Instances

(Show a, Show (VecN n a)) => Pretty (VecN (Succ n) a) 
Show a => Pretty (VecN Zero a) 
(Tree2NClass n, Pretty a) => Pretty (Tree2N n a) 

class Pretty1 p1 whereSource

Methods

prettyPrint1 :: Pretty p => p1 p -> PrettyM ()Source

pretty1 :: Pretty p => (String -> String) -> p1 p -> StringSource

prettySimp1 :: Pretty p => p1 p -> StringSource

Instances

prettyPut :: String -> PrettyM ()Source

prettyNl :: PrettyM ()Source

prettyIndent :: PrettyM a -> PrettyM aSource