mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 00:02:50 -06:00
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