diff options
Diffstat (limited to 'src/compiler/GF/Compile/Compute/Predef.hs')
| -rw-r--r-- | src/compiler/GF/Compile/Compute/Predef.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
