Added isLiteralCat function to PGF.Macros.

This commit is contained in:
bjorn
2008-09-26 15:04:13 +00:00
parent 804232aebc
commit 0f4e8468be
2 changed files with 2 additions and 5 deletions

View File

@@ -136,4 +136,5 @@ combinations t = case t of
[] -> [[]]
aa:uu -> [a:u | a <- aa, u <- combinations uu]
isLiteralCat :: CId -> Bool
isLiteralCat = (`elem` [mkCId "String", mkCId "Float", mkCId "Int"])