Skip to content

Commit

Permalink
fix tips in Parser.hs. Issue system-f#336
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymorris committed Apr 7, 2019
1 parent 90094c1 commit 2cff1c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Course/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -521,16 +521,20 @@ phoneParser =

-- | Write a parser for Person.
--
-- /Tip:/ Use @(=<<)@,
-- /Tip:/ Use @(>>=)@,
-- @pure@,
-- @(>>>)@,
-- @(*>)@,
-- @spaces1@,
-- @ageParser@,
-- @firstNameParser@,
-- @surnameParser@,
-- @smokerParser@,
-- @phoneParser@.
--
-- /Tip:/ Follow-on exercise: Use *(<*>)* instead of @(>>=)@.
--
-- /Tip:/ Follow-on exercise: Use *(<*>~)* instead of @(<*>)@ and @(*>)@.
--
-- >>> isErrorResult (parse personParser "")
-- True
--
Expand Down

0 comments on commit 2cff1c7

Please sign in to comment.