Skip to content

Commit eda2750

Browse files
committedJul 26, 2021
Course.Parser.list1: Suggest simpler operator
Closes #413.
1 parent 90816b9 commit eda2750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Course/Parser.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ list =
345345
-- | Return a parser that produces at least one value from the given parser then
346346
-- continues producing a list of values from the given parser (to ultimately produce a non-empty list).
347347
--
348-
-- /Tip:/ Use @(=<<)@, @list@ and @pure@.
348+
-- /Tip:/ Use @(.:.)@, @list@ and @pure@.
349349
--
350350
-- >>> parse (list1 (character)) "abc"
351351
-- Result >< "abc"

0 commit comments

Comments
 (0)