1
0
forked from GitHub/gf-core

GF.Infra.Modules: minor tweaks

Still keeping the modules both in a list and in a finite map. The overhead is
smaller than I initially thought.
This commit is contained in:
hallgren
2011-08-31 11:18:16 +00:00
parent b743abb375
commit d180dadf08
4 changed files with 20 additions and 23 deletions

View File

@@ -56,7 +56,7 @@ import qualified Data.ByteString.Char8 as BS
-- | grammar as presented to the compiler
type SourceGrammar = MGrammar Info
emptySourceGrammar = mGrammar []
emptySourceGrammar = emptyMGrammar
type SourceModInfo = ModInfo Info