forked from GitHub/gf-core
Added isLiteralCat function to PGF.Macros.
This commit is contained in:
@@ -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"])
|
||||
Reference in New Issue
Block a user