1
0
forked from GitHub/gf-core

nonExist now does the expected thing

This commit is contained in:
kr.angelov
2013-08-23 13:17:45 +00:00
parent e769d5db29
commit 288bcafb79
15 changed files with 72 additions and 17 deletions

View File

@@ -36,6 +36,6 @@ resource Predef = {
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; experimental ---
oper nonExist : Str = variants {} ; -- a placeholder for non-existant morphological forms
} ;

View File

@@ -35,7 +35,7 @@ oper
-- Missing form.
nonExist : Str = variants {} ;
nonExist : Str = Predef.nonExist;
-- Optional string with preference on the string vs. empty.