From 7361d220597015a9592d35971ce8108a201485b2 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 7 Mar 2017 19:50:43 +0000 Subject: GF.Compile.Compute.ConcreteNew now handles Predef.Float --- src/compiler/GF/Compile/Compute/Predef.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/Compute/Predef.hs') diff --git a/src/compiler/GF/Compile/Compute/Predef.hs b/src/compiler/GF/Compile/Compute/Predef.hs index 0acf85720..609a17798 100644 --- a/src/compiler/GF/Compile/Compute/Predef.hs +++ b/src/compiler/GF/Compile/Compute/Predef.hs @@ -75,7 +75,7 @@ predefList = -- cShow, cRead, cMapStr, cEqVal (cError,Error),(cTrace,Trace), -- Canonical values: - (cPBool,PBool),(cPFalse,PFalse),(cPTrue,PTrue),(cInt,Int), + (cPBool,PBool),(cPFalse,PFalse),(cPTrue,PTrue),(cInt,Int),(cFloat,Float), (cInts,Ints),(cNonExist,NonExist) ,(cBIND,BIND),(cSOFT_BIND,SOFT_BIND),(cSOFT_SPACE,SOFT_SPACE) ,(cCAPIT,CAPIT),(cALL_CAPIT,ALL_CAPIT)] @@ -103,6 +103,7 @@ delta f vs = -- Canonical values: PBool -> canonical Int -> canonical + Float -> canonical Ints -> canonical PFalse -> canonical PTrue -> canonical -- cgit v1.2.3