mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
String pattern handling
This commit is contained in:
@@ -416,6 +416,8 @@ inferLType gr trm = case trm of
|
||||
PP _ _ ps -> True --- all isConstPatt ps
|
||||
PR ps -> all (isConstPatt . snd) ps
|
||||
PT _ p -> isConstPatt p
|
||||
PString _ -> True
|
||||
PInt _ -> True
|
||||
_ -> False
|
||||
|
||||
inferPatt p = case p of
|
||||
|
||||
Reference in New Issue
Block a user