Test.Util.ToExpr
Contents
Description
This module implements QSM's CanDiff typeclass using tree-diff's ToExpr.
CanDiff
tree-diff
ToExpr
Associated Types
type AnExpr x Source #
type ADiff x Source #
Methods
toDiff ∷ x → AnExpr x Source #
exprDiff ∷ Proxy x → AnExpr x → AnExpr x → ADiff x Source #
diffToDocCompact ∷ Proxy x → ADiff x → Doc AnsiStyle Source #
diffToDoc ∷ Proxy x → ADiff x → Doc AnsiStyle Source #
exprToDoc ∷ Proxy x → AnExpr x → Doc AnsiStyle Source #
toExpr ∷ Concrete a → Expr Source #
listToExpr ∷ [Concrete a] → Expr Source #
toExpr ∷ Opaque a → Expr Source #
listToExpr ∷ [Opaque a] → Expr Source #
toExpr ∷ Reference k r → Expr Source #
listToExpr ∷ [Reference k r] → Expr Source #