From f8b73d593ca147e48a723d3dceda7c5977d21ae6 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 9 Oct 2014 19:34:12 +0000 Subject: Prelude.CAPIT is now a built-in primitive. It still generates &| in the Haskell runtime but will be intepreted in the C runtime --- src/compiler/GF/Grammar/Predef.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/GF/Grammar') diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs index 8ffd17b74..633ced494 100644 --- a/src/compiler/GF/Grammar/Predef.hs +++ b/src/compiler/GF/Grammar/Predef.hs @@ -32,6 +32,7 @@ cUndefinedType = identS "UndefinedType" cNonExist = identS "nonExist" cBIND = identS "BIND" cSOFT_BIND = identS "SOFT_BIND" +cCAPIT = identS "CAPIT" isPredefCat :: Ident -> Bool isPredefCat c = elem c [cInt,cString,cFloat] -- cgit v1.2.3