typelevel-rewrite-rules-1.0: Solve type equalities using custom type-level rewrite rules
Safe HaskellNone
LanguageHaskell2010

TypeLevel.Rewrite.Internal.PrettyPrint

Documentation

pprMaybe :: (a -> String) -> Maybe a -> String Source #

pprPair :: (a -> String) -> (b -> String) -> (a, b) -> String Source #

pprList :: (a -> String) -> [a] -> String Source #

pprTerm :: (f -> String) -> (v -> String) -> Term f v -> String Source #

pprRule :: (f -> String) -> (v -> String) -> Rule f v -> String Source #

pprReduct :: (f -> String) -> (v -> String) -> (v' -> String) -> Reduct f v v' -> String Source #