You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

856 B

24 Parser Combination

24.3 Parsing practise

src/LearnParsers.hs

24.4 Exercise: Unit of Success

(>>) is actually (*>) from Applicative and Applicative also has (<*) which has type Applicative f => f a -> f b -> f a So the solution here is: integer <* eof

24.6 Exercise: Try Try

src/TryTry.hs

24.11 Chapter Exercises

  1. src/SemVer.hs
  2. src/PosInt.hs
  3. src/PosInt.hs
  4. src/PhoneNumber.hs
  5. src/ParseLog.hs
  6. src/IPAddress.hs
  7. src/IPAddress.hs
  8. src/IPAddress.hs
  9. src/IPAddress.hs
  10. Probably not going to finish this at this time. It's a lot of the same but just a lot more.