-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | This package defines symbol and emoji codes for the typst language
--   (<a>https://typst.app</a>).
@package typst-symbols
@version 0.2

module Typst.Symbols

-- | A record for a typst symbol.
data Sym
Sym :: Text -> Bool -> Maybe Text -> MathClass -> Text -> Sym
[symName] :: Sym -> Text
[symIsAccent] :: Sym -> Bool
[symDeprecation] :: Sym -> Maybe Text
[symMathClass] :: Sym -> MathClass
[symText] :: Sym -> Text

-- | The math-class attribute for a typst symbol.
data MathClass
None :: MathClass
Alphabetic :: MathClass
Relation :: MathClass
Binary :: MathClass
Opening :: MathClass
Punctuation :: MathClass
Fence :: MathClass

-- | A list of triples, each consisting of the symbol name, a Boolean
--   indicating whether the symbol is an accent, and the resolved symbol.
typstSymbols :: [Sym]

-- | A list of triples, each consisting of the emoji name, a Boolean
--   indicating whether the symbol is an accent, and the resolved emoji.
typstEmojis :: [Sym]
mathSymbolShorthands :: [(Text, Text)]
instance GHC.Internal.Read.Read Typst.Symbols.MathClass
instance GHC.Internal.Show.Show Typst.Symbols.MathClass
instance GHC.Internal.Show.Show Typst.Symbols.Sym
