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
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