forked from GitHub/gf-core
mapStr ; appPredefined in err monad
This commit is contained in:
@@ -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
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ flags
|
||||
optimize=all ;
|
||||
|
||||
lin
|
||||
UseN = noun2CommNounPhrase ;
|
||||
UseN = noun2CommNounPhrase ;
|
||||
UsePN = nameNounPhrase ;
|
||||
|
||||
SymbPN i = {s = table {Nom => i.s ; Gen => i.s ++ "'s"} ; g = Neutr} ; ---
|
||||
|
||||
Reference in New Issue
Block a user