1
0
forked from GitHub/gf-core

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.
This commit is contained in:
hallgren
2012-06-26 14:46:18 +00:00
parent a38efe70c6
commit b094274c0e
5 changed files with 47 additions and 9 deletions

View File

@@ -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