mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
the parser now use nub instead of nubsort which means that the abstract syntax trees will be returned lazily
This commit is contained in:
@@ -121,7 +121,7 @@ getAbsTrees (Forest abs cnc forest root) arg@(PArg _ fid) ty dp =
|
|||||||
generateForForest (prove dp) e) emptyMetaStore fid
|
generateForForest (prove dp) e) emptyMetaStore fid
|
||||||
in if null res
|
in if null res
|
||||||
then Left (nub err)
|
then Left (nub err)
|
||||||
else Right (nubsort [e | (_,_,e) <- res])
|
else Right (nub [e | (_,_,e) <- res])
|
||||||
where
|
where
|
||||||
go rec_ scope_ mb_tty_ (PArg hypos fid)
|
go rec_ scope_ mb_tty_ (PArg hypos fid)
|
||||||
| fid < totalCats cnc = case mb_tty of
|
| fid < totalCats cnc = case mb_tty of
|
||||||
|
|||||||
Reference in New Issue
Block a user