mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-02 07:42:50 -06:00
restored Int size and last ; added lib/prelude to be the last in any grammar path
This commit is contained in:
@@ -81,9 +81,9 @@ linearizeToRecord gr mk m = lin [] where
|
||||
recS t = R [Ass (L (identC "s")) t] ----
|
||||
|
||||
recInt i = R [
|
||||
----Ass (L (identC "last")) (EInt (rem i 10)),
|
||||
Ass (L (identC "s")) (tK $ show i) ----,
|
||||
----Ass (L (identC "size")) (EInt (if i > 9 then 1 else 0))
|
||||
Ass (L (identC "last")) (EInt (rem i 10)),
|
||||
Ass (L (identC "s")) (tK $ show i),
|
||||
Ass (L (identC "size")) (EInt (if i > 9 then 1 else 0))
|
||||
]
|
||||
|
||||
lookCat = return . errVal defLindef . look
|
||||
|
||||
Reference in New Issue
Block a user