liquidhaskell-0.3.0.0: Liquid Types for Haskell

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.PrettyPrint

Contents

Description

Module with all the printing and serialization routines

Synopsis

Tidy level

data Tidy Source

Printer ----------------------------------------------------------------

Constructors

Lossy 
Full 

Instances

Printing RType

rtypeDoc :: (PPrint (RType a tv ()), PPrint (RType a tv r), PPrint a, PPrint r, PPrint tv, TyConable a, Reftable (RTProp a tv r), Reftable r) => Tidy -> RType a tv r -> Doc Source

Pretty Printing RefType ----------------------------------

ppr_rtype :: (PPrint (RType a tv ()), PPrint (RType a tv r), PPrint a, PPrint r, PPrint tv, TyConable a, Reftable (RTProp a tv r), Reftable r) => PPEnv -> Prec -> RType a tv r -> Doc Source

Printing an Orderable List

pprManyOrdered :: (PPrint a, Ord a) => Tidy -> String -> [a] -> [Doc] Source

Printing an Ordered List

Printing a List with many large items

ppSpine :: PPrint a => RType a t t1 -> Doc Source