summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Forest.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2011-12-19 13:10:33 +0000
committerkr.angelov <kr.angelov@gmail.com>2011-12-19 13:10:33 +0000
commitbb6905e36ff87d65cb8732ce5325a6a1bbbf6e31 (patch)
treed3dc46706c67cb3deb7a6eea48245bb2348b44bf /src/runtime/haskell/PGF/Forest.hs
parent15678a0fced17d9ed40b8a79985820b15dcc11d8 (diff)
the parser now use nub instead of nubsort which means that the abstract syntax trees will be returned lazily
Diffstat (limited to 'src/runtime/haskell/PGF/Forest.hs')
-rw-r--r--src/runtime/haskell/PGF/Forest.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Forest.hs b/src/runtime/haskell/PGF/Forest.hs
index be96ac0f3..6a5a0c629 100644
--- a/src/runtime/haskell/PGF/Forest.hs
+++ b/src/runtime/haskell/PGF/Forest.hs
@@ -121,7 +121,7 @@ getAbsTrees (Forest abs cnc forest root) arg@(PArg _ fid) ty dp =
generateForForest (prove dp) e) emptyMetaStore fid
in if null res
then Left (nub err)
- else Right (nubsort [e | (_,_,e) <- res])
+ else Right (nub [e | (_,_,e) <- res])
where
go rec_ scope_ mb_tty_ (PArg hypos fid)
| fid < totalCats cnc = case mb_tty of