forked from GitHub/gf-core
mathtext examples from Bonn
This commit is contained in:
15
examples/mathtext/SymbolsX.gf
Normal file
15
examples/mathtext/SymbolsX.gf
Normal file
@@ -0,0 +1,15 @@
|
||||
concrete SymbolsX of Symbols = open Formal in {
|
||||
|
||||
lincat
|
||||
Exp = TermPrec ;
|
||||
|
||||
lin
|
||||
-- EInt i = constant i.s ;
|
||||
EVar x = constant x.s ;
|
||||
EIn = infixn 0 "\\in" ;
|
||||
EPlus = infixl 2 "+" ;
|
||||
ETimes = infixl 3 "*" ;
|
||||
EEq = infixn 0 "=" ;
|
||||
EGt = infixn 0 ">" ;
|
||||
ELt = infixn 0 "<" ;
|
||||
}
|
||||
Reference in New Issue
Block a user