summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Infra/Modules.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src-3.0/GF/Infra/Modules.hs')
-rw-r--r--src-3.0/GF/Infra/Modules.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-3.0/GF/Infra/Modules.hs b/src-3.0/GF/Infra/Modules.hs
index fe44a5fe4..971d52054 100644
--- a/src-3.0/GF/Infra/Modules.hs
+++ b/src-3.0/GF/Infra/Modules.hs
@@ -403,7 +403,7 @@ allResources gr = [i | (i,ModMod m) <- modules gr, isModRes m]
greatestResource :: MGrammar i a -> Maybe i
greatestResource gr = case allResources gr of
[] -> Nothing
- a -> return $ head a
+ a -> return $ head a ---- why not last as in Abstract? works though AR 24/5/2008
-- | all concretes for a given abstract
allConcretes :: Eq i => MGrammar i a -> i -> [i]