Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class Render a where
- render :: a -> Inlines
- renderPrec :: Int -> a -> Inlines
- renderM :: (Applicative m, Render a) => a -> m Inlines
- renderP :: (Applicative m, Pretty a) => a -> m Inlines
- renderA :: (Render c, ToConcrete a, ConOfAbs a ~ c) => a -> TCM Inlines
- renderATop :: (Render c, ToConcrete a, ConOfAbs a ~ c) => a -> TCM Inlines
Documentation
Typeclass for rendering Inlines
Nothing
Instances
Render Name Source # | Abstract |
Defined in Render.Name | |
Render QName Source # | |
Defined in Render.Name | |
Render Cohesion Source # | |
Defined in Render.Common | |
Render Fixity Source # | |
Defined in Render.Concrete | |
Render Fixity' Source # | |
Defined in Render.Concrete | |
Render GenPart Source # | |
Defined in Render.Concrete | |
Render Induction Source # | |
Defined in Render.Common | |
Render InteractionId Source # | InteractionId |
Defined in Render.Concrete | |
Render MetaId Source # | MetaId |
Defined in Render.Common | |
Render Modality Source # | |
Defined in Render.Concrete | |
Render NameId Source # | NameId |
Defined in Render.Common | |
Render ProblemId Source # | |
Defined in Render.TypeChecking | |
Render Quantity Source # | Quantity |
Defined in Render.Common | |
Render QωOrigin Source # | |
Defined in Render.Common | |
Render Relevance Source # | Relevance |
Defined in Render.Common | |
Render BoundName Source # | |
Defined in Render.Concrete | |
Render Declaration Source # | |
Defined in Render.Concrete | |
Render DoStmt Source # | |
Defined in Render.Concrete | |
Render Expr Source # | Expression |
Defined in Render.Concrete | |
Render LHS Source # | |
Defined in Render.Concrete | |
Render LHSCore Source # | |
Defined in Render.Concrete | |
Render LamBinding Source # | LamBinding |
Defined in Render.Concrete | |
Render LamClause Source # | |
Defined in Render.Concrete | |
Render ModuleApplication Source # | |
Defined in Render.Concrete | |
Render ModuleAssignment Source # | |
Defined in Render.Concrete | |
Render OpenShortHand Source # | |
Defined in Render.Concrete | |
Render Pattern Source # | |
Defined in Render.Concrete | |
Render Pragma Source # | |
Defined in Render.Concrete | |
Render RHS Source # | |
Defined in Render.Concrete | |
Render TypedBinding Source # | TypedBinding |
Defined in Render.Concrete | |
Render WhereClause Source # | |
Defined in Render.Concrete | |
Render Name Source # | |
Defined in Render.Name | |
Render NamePart Source # | Concrete |
Defined in Render.Name | |
Render QName Source # | |
Defined in Render.Name | |
Render NamedBinding Source # | NamedBinding |
Defined in Render.Concrete | |
Render Tel Source # | |
Defined in Render.Concrete | |
Render Clause Source # | |
Defined in Render.Internal | |
Render DBPatVar Source # | |
Defined in Render.Internal | |
Render Level Source # | |
Defined in Render.Internal | |
Render PlusLevel Source # | |
Defined in Render.Internal | |
Render Sort Source # | |
Defined in Render.Internal | |
Render Term Source # | Term |
Defined in Render.Internal | |
Render Type Source # | |
Defined in Render.Internal | |
Render Blocker Source # | |
Defined in Render.Internal | |
Render Literal Source # | Literal |
Defined in Render.Literal | |
Render IntervalWithoutFile Source # | |
Defined in Render.Position | |
Render PositionWithoutFile Source # | |
Defined in Render.Position | |
Render Comparison Source # | |
Defined in Render.TypeChecking | |
Render NamedMeta Source # | |
Defined in Render.TypeChecking | |
Render Polarity Source # | |
Defined in Render.TypeChecking | |
Render Occurrence Source # | |
Defined in Render.TypeChecking | |
Render AbsolutePath Source # | |
Defined in Render.Position | |
Render CPUTime Source # | |
Defined in Render.Utils | |
Render Int32 Source # | |
Defined in Render.Class | |
Render Doc Source # | |
Defined in Render.Class | |
Render Integer Source # | |
Defined in Render.Class | |
Render Bool Source # | |
Defined in Render.Class | |
Render Int Source # | Other instances of Render |
Defined in Render.Class | |
Render a => Render (Arg a) Source # | Arg |
Defined in Render.Concrete | |
Render a => Render (MaybePlaceholder a) Source # | MaybePlaceholder |
Defined in Render.Concrete | |
Render a => Render (WithHiding a) Source # | |
Defined in Render.Concrete | |
Render a => Render (Binder' a) Source # | |
Defined in Render.Concrete | |
Render a => Render (FieldAssignment' a) Source # | |
Defined in Render.Concrete | |
Render (OpApp Expr) Source # | OpApp |
Defined in Render.Concrete | |
Render a => Render (Pattern' a) Source # | |
Defined in Render.Internal | |
Render a => Render (Substitution' a) Source # | |
Defined in Render.Internal | |
Render a => Render (Tele (Dom a)) Source # | |
Defined in Render.Internal | |
Render tm => Render (Elim' tm) Source # | |
Defined in Render.Internal | |
Render a => Render (Interval' (Maybe a)) Source # | |
Defined in Render.Position | |
Render a => Render (Position' (Maybe a)) Source # | |
Defined in Render.Position | |
Render a => Render (Range' (Maybe a)) Source # | |
Defined in Render.Position | |
Render c => Render (IPBoundary' c) Source # | IPBoundary' |
Defined in Render.Interaction | |
Render a => Render (List1 a) Source # | |
Defined in Render.Class | |
Render a => Render (List2 a) Source # | |
Defined in Render.Class | |
Render a => Render [a] Source # | |
Defined in Render.Class | |
(Render a, Render b) => Render (OutputConstraint a b) Source # | OutputConstraint |
Defined in Render.Interaction | |
(Render a, Render b) => Render (OutputForm a b) Source # | OutputForm |
Defined in Render.Interaction | |
(Render a, Render b) => Render (ImportDirective' a b) Source # | |
Defined in Render.Concrete | |
(Render a, Render b) => Render (ImportedName' a b) Source # | |
Defined in Render.Concrete | |
Render e => Render (Named NamedName e) Source # | Named NamedName (Named_) |
Defined in Render.Concrete | |
(Render a, Render b) => Render (Renaming' a b) Source # | |
Defined in Render.Concrete | |
(Render a, Render b) => Render (Using' a b) Source # | |
Defined in Render.Concrete | |
(Render t, Render e) => Render (Dom' t e) Source # | |
Defined in Render.Internal | |
(Render a, Render b) => Render (Either a b) Source # | |
Defined in Render.Concrete | |
(Render p, Render e) => Render (RewriteEqn' qn nm p e) Source # | |
Defined in Render.Common |
renderM :: (Applicative m, Render a) => a -> m Inlines Source #
Rendering undersome context class RenderTCM a where renderTCM :: a -> Agda.TCM Inlines
Simply "pure . render"
renderATop :: (Render c, ToConcrete a, ConOfAbs a ~ c) => a -> TCM Inlines Source #
like prettyATop