You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware that for removing optional whitespaces and such the many is required. Maybe there should be a spanP' that uses some instead for the other cases.
The text was updated successfully, but these errors were encountered:
spanP
is defined as below:Using
many
here instead ofsome
makes it so matching nothing or even getting an empty input is not an error.How to reproduce
As of now
spanP
creates a parser which does not return an error on parse failure of string.I'm not sure if that is the intended behavior but that might bring some trouble later on.
N.B: See many / some documentation here.
I'm aware that for removing optional whitespaces and such the many is required. Maybe there should be a
spanP'
that usessome
instead for the other cases.The text was updated successfully, but these errors were encountered: