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/Compile/Compute/Value.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/Compute/Value.hs') diff --git a/src/compiler/GF/Compile/Compute/Value.hs b/src/compiler/GF/Compile/Compute/Value.hs index c47c67acb..07d79ca26 100644 --- a/src/compiler/GF/Compile/Compute/Value.hs +++ b/src/compiler/GF/Compile/Compute/Value.hs @@ -21,7 +21,7 @@ data Value | VTblType Value Value | VRecType [(Label,Value)] | VRec [(Label,Value)] - | VV Type [Value] + | VV Type [Value] [Value] -- preserve type for conversion back to Term | VT TInfo [(Patt,Bind Env)] | VC Value Value | VS Value Value -- cgit v1.2.3