mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 05:49:31 -06:00
24 lines
560 B
Plaintext
24 lines
560 B
Plaintext
--
|
|
-- Primitives
|
|
--
|
|
|
|
|
|
String : Type ;
|
|
|
|
Int : Type ;
|
|
|
|
prim_add_Int : (_:Int) -> (_:Int) -> Int ;
|
|
prim_sub_Int : (_:Int) -> (_:Int) -> Int ;
|
|
prim_mul_Int : (_:Int) -> (_:Int) -> Int ;
|
|
prim_div_Int : (_:Int) -> (_:Int) -> Int ;
|
|
prim_mod_Int : (_:Int) -> (_:Int) -> Int ;
|
|
|
|
prim_neg_Int : (_:Int) -> Int ;
|
|
|
|
prim_lt_Int : (_:Int) -> (_:Int) -> Bool ;
|
|
prim_le_Int : (_:Int) -> (_:Int) -> Bool ;
|
|
prim_gt_Int : (_:Int) -> (_:Int) -> Bool ;
|
|
prim_ge_Int : (_:Int) -> (_:Int) -> Bool ;
|
|
prim_eq_Int : (_:Int) -> (_:Int) -> Bool ;
|
|
prim_ne_Int : (_:Int) -> (_:Int) -> Bool ;
|