1
0
forked from GitHub/gf-rgl

concatenation string patterns

This commit is contained in:
aarne
2006-01-06 21:49:25 +00:00
parent 9cebca6e10
commit 9f91bd2136
2 changed files with 14 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ resource Predef = {
oper Int : Type = variants {} ; -- the type of integers
oper Ints : Int -> Type = variants {} ; -- the type of integers from 0 to n
oper CC : Tok -> Tok -> Tok = variants {} ; -- concatenation; used in patterns
oper length : Tok -> Int = variants {} ; -- length of string
oper drop : Int -> Tok -> Tok = variants {} ; -- drop prefix of length
oper take : Int -> Tok -> Tok = variants {} ; -- take prefix of length