mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-15 14:12:51 -06:00
Finnish SDP paradigm ported to lower-case by using Predef.toUpper
This commit is contained in:
@@ -27,6 +27,9 @@ resource Predef = {
|
||||
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 isUpper : Tok -> PBool = variants {} ; -- test if all chars are upper-case
|
||||
oper toUpper : Tok -> Tok = variants {} ; -- map all chars to upper case
|
||||
oper toLower : Tok -> Tok = variants {} ; -- map all chars to lower case
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user