summaryrefslogtreecommitdiff
path: root/src/GF/Grammar/Values.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Grammar/Values.hs')
-rw-r--r--src/GF/Grammar/Values.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GF/Grammar/Values.hs b/src/GF/Grammar/Values.hs
index 4d787488d..015f9ffb3 100644
--- a/src/GF/Grammar/Values.hs
+++ b/src/GF/Grammar/Values.hs
@@ -44,6 +44,8 @@ cPredefAbs = identC "PredefAbs"
cInt = identC "Int"
cString = identC "String"
+isPredefCat c = elem c [cInt,cString]
+
eType :: Exp
eType = Sort "Type"