mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 00:39:32 -06:00
slight improvement of Fre compile mem and time
This commit is contained in:
@@ -76,14 +76,13 @@ instance DiffFre of DiffRomance = open CommonRomance, PhonoFre, Prelude in {
|
||||
CPron a => argPron a.g a.n a.p Acc ;
|
||||
_ => []
|
||||
} ;
|
||||
pdat = case dat of {
|
||||
CPron a => argPron a.g a.n a.p dative ;
|
||||
_ => []
|
||||
} ;
|
||||
in
|
||||
case dat of {
|
||||
CPron {p = P3} => <pacc ++ pdat,[]> ;
|
||||
_ => <pdat ++ pacc, []>
|
||||
CPron a => let pdat = argPron a.g a.n a.p dative in case a.p of {
|
||||
P3 => <pacc ++ pdat,[]> ;
|
||||
_ => <pdat ++ pacc,[]>
|
||||
} ;
|
||||
_ => <pacc, []>
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@ incomplete concrete RelativeRomance of Relative =
|
||||
s = \\ag =>
|
||||
(mkClause
|
||||
(rp.s ! False ! {g = ag.g ; n = ag.n} ! Nom)
|
||||
(
|
||||
case rp.a of {
|
||||
RNoAg => ag ;
|
||||
RAg a => a ** {p = P3}
|
||||
}) vp).s
|
||||
(case rp.a of {
|
||||
RNoAg => ag ;
|
||||
RAg a => a ** {p = P3}
|
||||
})
|
||||
vp).s
|
||||
} ;
|
||||
|
||||
RelSlash rp slash = {
|
||||
|
||||
Reference in New Issue
Block a user