From 5e091d2e3dc428daa1d4b0d8df6e7b613adc22a9 Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 11 Dec 2012 15:37:41 +0000 Subject: partial evaluator work * Evaluate operators once, not every time they are looked up * Remember the list of parameter values instead of recomputing it from the pattern type every time a table selection is made. * Quick fix for partial application of some predefined functions. --- src/compiler/GF/Grammar/Grammar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Grammar') diff --git a/src/compiler/GF/Grammar/Grammar.hs b/src/compiler/GF/Grammar/Grammar.hs index 01d9cc9ec..3a6d4c25f 100644 --- a/src/compiler/GF/Grammar/Grammar.hs +++ b/src/compiler/GF/Grammar/Grammar.hs @@ -16,7 +16,7 @@ module GF.Grammar.Grammar ( SourceGrammar, SourceModInfo(..), SourceModule, ModuleType(..), - emptySourceGrammar, mGrammar, modules, prependModule, + emptySourceGrammar, mGrammar, modules, prependModule, moduleMap, MInclude (..), OpenSpec(..), extends, isInherited, inheritAll, -- cgit v1.2.3