mapStr ; appPredefined in err monad

This commit is contained in:
aarne committed 2005-04-01 20:24:24 +00:00
1 parent 7e328b027e
commit 4d79ef0c41
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -22,7 +22,9 @@ resource Predef = {
oper occur : Tok -> Tok -> PBool = variants {} ; -- test if occurs as substring
oper show : (P : Type) -> P -> Tok = variants {} ; -- convert param to string
oper read : (P : Type) -> Tok -> P = variants {} ; -- convert string to param
oper toStr : (P : Type) -> P -> Str = variants {} ; -- find the "first" string
oper toStr : (L : Type) -> L -> Str = variants {} ; -- find the "first" string
oper mapStr : (L : Type) -> (Str -> Str) -> L -> L = variants {} ;
-- map all strings in a data structure
} ;