1
0
forked from GitHub/gf-rgl

Finnish close to production ; Predef.occurs

This commit is contained in:
aarne
2005-06-26 19:40:31 +00:00
parent 67670694e7
commit 66e883bbb2
5 changed files with 150 additions and 103 deletions

View File

@@ -20,6 +20,7 @@ resource Predef = {
oper plus : Int -> Int -> Int = variants {} ; -- add integers
oper eqStr : Tok -> Tok -> PBool = variants {} ; -- test if equal strings
oper occur : Tok -> Tok -> PBool = variants {} ; -- test if occurs as substring
oper occurs : Tok -> Tok -> PBool = variants {} ; -- test if any char occurs
oper show : (P : Type) -> P -> Tok = variants {} ; -- convert param to string
oper read : (P : Type) -> Tok -> P = variants {} ; -- convert string to param
oper toStr : (L : Type) -> L -> Str = variants {} ; -- find the "first" string