mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 11:15:27 -07:00
documenting regular patterns
This commit is contained in:
1 parent
d133e0353c
commit
00ea4e3dcd
2 files changed
+44
-16
No files matched your search
@@ -105,7 +105,7 @@ tryMatch (p,t) = do
|
||||
return (concat matches)
|
||||
|
||||
(PRep p1, ([],K s, [])) -> checks [
|
||||
trym (foldr (const (PSeq p1)) (PString "") [0..n]) t' | n <- [1 .. length s]
|
||||
trym (foldr (const (PSeq p1)) (PString "") [1..n]) t' | n <- [0 .. length s]
|
||||
]
|
||||
|
||||
_ -> prtBad "no match in case expr for" t
|
||||
|
||||
Reference in new issue
Block a user