Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines types similar to those in Drasil.Language, but better suited to printing.
Synopsis
- data LinkType
- data Ops
- = IsIn
- | Integer
- | Real
- | Rational
- | Natural
- | Boolean
- | Comma
- | Prime
- | Log
- | Ln
- | Sin
- | Cos
- | Tan
- | Sec
- | Csc
- | Cot
- | Arcsin
- | Arccos
- | Arctan
- | Not
- | Dim
- | Exp
- | Neg
- | Cross
- | Dot
- | Scale
- | Eq
- | NEq
- | Lt
- | Gt
- | LEq
- | GEq
- | Impl
- | Iff
- | Subt
- | And
- | Or
- | Add
- | Mul
- | Summ
- | Inte
- | Prod
- | Point
- | Perc
- | LArrow
- | RArrow
- | ForAll
- | VAdd
- | VSub
- | Partial
- data Fence
- data OverSymb = Hat
- data Fonts
- data Spacing = Thin
- type Label = Spec
- data Expr
- data Spec
- type Title = Spec
- data ListType
- data ItemType
Documentation
Different types of links for referencing. May be internal, a citation, or external. A citation may also hold additional reference information.
Different operators.
Redefine the Expr
type from Language.Drasil to be more suitable to printing.
Dbl Double | |
Int Integer | |
Str String | |
Case [(Expr, Expr)] | Case expressions |
Mtx [[Expr]] | Matrix. |
Row [Expr] | |
Ident String | |
Label String | |
Spec Special | Special characters. |
Sub Expr | Subscript. |
Sup Expr | Superscript. |
MO Ops | |
Over OverSymb Expr | Holds an expression that needs a hat symbol "^" |
Fenced Fence Fence Expr | Holds an expression that is surrounded with a |
Font Fonts Expr | Holds an expression with a font. |
Div Expr Expr | Fractions are a layout thing. |
Sqrt Expr | Roots are also a layout thing. Just sqrt for now. |
Spc Spacing | Holds the |
Redefine the Sentence
type from Language.Drasil to be more suitable to printing.
E Expr | Holds an expression. |
S String | Holds a String. |
Spec :+: Spec infixr 5 | Concatenation. |
Sp Special | Special characters. |
Ref LinkType String Spec | Holds the actual reference of form |
EmptyS | Empty sentence. |
Quote Spec | Quotes are different in different languages. |
HARDNL | Newline.
| A title is just a sentence ( |
Different types of lists that contain an ItemType
and may contain a label and a title.
May be ordered, unordered, simple, descriptive, or for definitions. More suitable to printing.