We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4a76c commit b89442bCopy full SHA for b89442b
src/Text/Parsing/Parser/String.purs
@@ -40,7 +40,7 @@ instance charHasUpdatePosition :: HasUpdatePosition Char where
40
-- | operations which this modules needs.
41
-- |
42
-- | Instances must satisfy the following laws:
43
--- |
+-- | - `drop (Prefix a) a >>= uncons = Nothing`
44
class StreamLike f c | f -> c where
45
uncons :: f -> Maybe { head :: c, tail :: f, updatePos :: Position -> Position }
46
drop :: Prefix f -> f -> Maybe { rest :: f, updatePos :: Position -> Position }
0 commit comments