summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Data/Relation.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-06-26 14:46:18 +0000
committerhallgren <hallgren@chalmers.se>2012-06-26 14:46:18 +0000
commitb094274c0e6e0218977a65821066a3970254810a (patch)
treee5cdbb20a5fb276aec6e081802c163fcb213ad91 /src/compiler/GF/Data/Relation.hs
parenta38efe70c6aa340242cb25c3b8fd2845f98b1bb8 (diff)
Report many type errors instead of stopping after the first one
In GF.Compile.CheckGrammar, use a new topological sorting function that groups independent judgements, allowing them all to be checked before continuing or reporting errors.
Diffstat (limited to 'src/compiler/GF/Data/Relation.hs')
-rw-r--r--src/compiler/GF/Data/Relation.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Data/Relation.hs b/src/compiler/GF/Data/Relation.hs
index 7024a482c..b888a0fd7 100644
--- a/src/compiler/GF/Data/Relation.hs
+++ b/src/compiler/GF/Data/Relation.hs
@@ -23,7 +23,7 @@ module GF.Data.Relation (Rel, mkRel, mkRel'
, isTransitive, isReflexive, isSymmetric
, isEquivalence
, isSubRelationOf
- , topologicalSort) where
+ , topologicalSort, findCycles) where
import Data.Foldable (toList)
import Data.List