Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Block
- newtype Inlines = Inlines {
- unInlines :: Seq Inline
- space :: Inlines
- text :: String -> Inlines
- text' :: ClassNames -> String -> Inlines
- parens :: Inlines -> Inlines
- linkRange :: Range -> Inlines -> Inlines
- linkHole :: Int -> Inlines
- icon :: String -> Inlines
- (<+>) :: Inlines -> Inlines -> Inlines
- punctuate :: Inlines -> [Inlines] -> [Inlines]
- braces :: Inlines -> Inlines
- braces' :: Inlines -> Inlines
- dbraces :: Inlines -> Inlines
- mparens :: Bool -> Inlines -> Inlines
- hcat :: [Inlines] -> Inlines
- hsep :: [Inlines] -> Inlines
- sep :: [Inlines] -> Inlines
- fsep :: [Inlines] -> Inlines
- vcat :: [Inlines] -> Inlines
- fcat :: [Inlines] -> Inlines
- arrow :: Inlines
- lambda :: Inlines
- forallQ :: Inlines
- showIndex :: (Show i, Integral i) => i -> String
- leftIdiomBrkt :: Inlines
- rightIdiomBrkt :: Inlines
- emptyIdiomBrkt :: Inlines
Documentation
Block elements
Labeled Inlines (Maybe String) (Maybe Range) String String | |
Unlabeled Inlines (Maybe String) (Maybe Range) | |
Header String |
Instances
Generic Block Source # | |
ToJSON Block Source # | |
Defined in Render.RichText | |
type Rep Block Source # | |
Defined in Render.RichText type Rep Block = D1 ('MetaData "Block" "Render.RichText" "agda-language-server-0.2.2.0.2.2.6.2-inplace" 'False) (C1 ('MetaCons "Labeled" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Inlines) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Range)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) :+: (C1 ('MetaCons "Unlabeled" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Inlines) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Range)))) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) |
Instances
IsString Inlines Source # | |
Defined in Render.RichText fromString :: String -> Inlines | |
Monoid Inlines Source # | |
Semigroup Inlines Source # | |
Show Inlines Source # | |
ToJSON Inlines Source # | |
Defined in Render.RichText toEncoding :: Inlines -> Encoding toJSONList :: [Inlines] -> Value toEncodingList :: [Inlines] -> Encoding |
showIndex :: (Show i, Integral i) => i -> String Source #
Shows a non-negative integer using the characters ₀-₉ instead of 0-9 unless the user explicitly asked us to not use any unicode characters.
Orphan instances
ToJSON Range Source # | ToJSON instances for A.types |
toJSON :: Range -> Value toEncoding :: Range -> Encoding toJSONList :: [Range] -> Value toEncodingList :: [Range] -> Encoding | |
ToJSON SrcFile Source # | |
toJSON :: SrcFile -> Value toEncoding :: SrcFile -> Encoding toJSONList :: [SrcFile] -> Value toEncodingList :: [SrcFile] -> Encoding | |
ToJSON AbsolutePath Source # | |
toJSON :: AbsolutePath -> Value toEncoding :: AbsolutePath -> Encoding toJSONList :: [AbsolutePath] -> Value toEncodingList :: [AbsolutePath] -> Encoding | |
ToJSON (Interval' ()) Source # | |
toJSON :: Interval' () -> Value toEncoding :: Interval' () -> Encoding toJSONList :: [Interval' ()] -> Value toEncodingList :: [Interval' ()] -> Encoding | |
ToJSON (Position' ()) Source # | |
toJSON :: Position' () -> Value toEncoding :: Position' () -> Encoding toJSONList :: [Position' ()] -> Value toEncodingList :: [Position' ()] -> Encoding |