| Author: | Stéphane Bortzmeyer |
|---|---|
| Mode: | haskell |
| Date: | Wed, 17 Mar 2010 21:03:56 |
checkDcls :: Program -> Result checkDcls l = let t = Map.fromList (map extract (filter is_declaration l)) in foldl combine (True, Nothing) (map (test_declaration t) (filter is_transition l))