summaryrefslogtreecommitdiff
path: root/examples/numerals/malay.gf
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2010-11-12 16:46:44 +0000
committerhallgren <hallgren@chalmers.se>2010-11-12 16:46:44 +0000
commitb46442ab0b50fe58417b85d34a97a16e7b06de05 (patch)
treeafc01daec398af317ece15253a463d72b19c8af7 /examples/numerals/malay.gf
parentbad36015d23f125ce2d3f1faedd5047aedb6c398 (diff)
examples/numerals: adapt to current GF syntax
Diffstat (limited to 'examples/numerals/malay.gf')
-rw-r--r--examples/numerals/malay.gf6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/numerals/malay.gf b/examples/numerals/malay.gf
index 1044fc87d..2fd8018bc 100644
--- a/examples/numerals/malay.gf
+++ b/examples/numerals/malay.gf
@@ -20,10 +20,10 @@ lincat
oper
ratus : Nm => Str = -- 100
- table {{sg} => "seratus" ; {pl} => "ratus"} ;
+ table {sg => "seratus" ; pl => "ratus"} ;
ribu : Nm => Str = -- 1000
- table {{sg} => "seribu" ; {pl} => "ribu"} ;
+ table {sg => "seribu" ; pl => "ribu"} ;
mkTab : Str -> Place => Str = \s -> table { _ => s } ;
@@ -43,7 +43,7 @@ lin
n8 = ss "delapan" ;
n9 = ss "sembilan" ;
- pot01 = {inh = sg ; s = table {{attr} => [] ; {indep} => "satu"}} ;
+ pot01 = {inh = sg ; s = table {attr => [] ; indep => "satu"}} ;
pot0 d = mkNum d.s ;