mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
"Committed_by_peb"
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
concrete FragmentNumber of FragmentAbstract = open FragmentResource in {
|
||||
|
||||
flags startcat= S;
|
||||
|
||||
lincat
|
||||
|
||||
N = { s : Num => Str };
|
||||
|
||||
@@ -5,7 +5,7 @@ lincat S = {s1:Str; s2:AB => Str};
|
||||
|
||||
lin
|
||||
|
||||
f x = { s1 = x.s2 ! A;
|
||||
f x = { s1 = [];
|
||||
s2 = table{ y => variants{ x.s2 ! A; x.s1 ++ x.s2 ! y } } };
|
||||
|
||||
a = { s1 = "a" ++ variants{ "b"; "c" };
|
||||
|
||||
Reference in New Issue
Block a user