summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Data.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-06-30 07:40:22 +0000
committerkrasimir <krasimir@chalmers.se>2010-06-30 07:40:22 +0000
commiteb0bd54e68ac3c776750c88ce4eb3d03954777f2 (patch)
treeea7a4c2077ecf364bff9cf8743b7977b30678a9a /src/runtime/haskell/PGF/Data.hs
parent4c576ebbc9d0e4f470a6a84d6e59a95873f9d67a (diff)
rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float)
Diffstat (limited to 'src/runtime/haskell/PGF/Data.hs')
-rw-r--r--src/runtime/haskell/PGF/Data.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/runtime/haskell/PGF/Data.hs b/src/runtime/haskell/PGF/Data.hs
index fd357a678..490e25a84 100644
--- a/src/runtime/haskell/PGF/Data.hs
+++ b/src/runtime/haskell/PGF/Data.hs
@@ -103,11 +103,11 @@ readLanguage = readCId
showLanguage :: Language -> String
showLanguage = showCId
-fcatString, fcatInt, fcatFloat, fcatVar :: Int
-fcatString = (-1)
-fcatInt = (-2)
-fcatFloat = (-3)
-fcatVar = (-4)
-
-isLiteralFCat :: FId -> Bool
-isLiteralFCat = (`elem` [fcatString, fcatInt, fcatFloat, fcatVar])
+fidString, fidInt, fidFloat, fidVar :: FId
+fidString = (-1)
+fidInt = (-2)
+fidFloat = (-3)
+fidVar = (-4)
+
+isPredefFId :: FId -> Bool
+isPredefFId = (`elem` [fidString, fidInt, fidFloat, fidVar])