Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Constrained.PrettyUtils
Documentation
Constructors
WithPrec Int a |
Instances
(Show a, Typeable a, Show (TypeSpecD deps a)) ⇒ Pretty (WithPrec (SpecificationD deps a)) Source # | |
Defined in Constrained.AbstractSyntax Methods pretty ∷ WithPrec (SpecificationD deps a) → Doc ann Source # prettyList ∷ [WithPrec (SpecificationD deps a)] → Doc ann Source # | |
Show a ⇒ Pretty (WithPrec (TermD deps a)) Source # | |
(HasSpec (k, v), HasSpec k, HasSpec v, HasSpec [v]) ⇒ Pretty (WithPrec (MapSpec k v)) Source # | |
HasSpec a ⇒ Pretty (WithPrec (FoldSpec a)) Source # | |
HasSpec a ⇒ Pretty (WithPrec (ListSpec a)) Source # | |
ppListShow ∷ ∀ f as ann. All Show as ⇒ (∀ a. Show a ⇒ f a → Doc ann) → List f as → [Doc ann] Source #
prettyType ∷ ∀ t x. Typeable t ⇒ Doc x Source #