Skip to content

Instantly share code, notes, and snippets.

@longcao
Created December 20, 2015 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save longcao/9d00513aa09925c35187 to your computer and use it in GitHub Desktop.
Save longcao/9d00513aa09925c35187 to your computer and use it in GitHub Desktop.
sample scala problems to cover in cats docs?
  1. Handling stacked monads and the like e.g. List[Option[T]], `Future[Option[T]``
  2. Referentially transparent error handling
  3. Error accumulation/'parallel' validation
  4. Adding together Option[T]s (a la http://stackoverflow.com/a/16319667, not sure how to word this well)
  5. More explicitly typesafe collections (e.g. non-empty, guarantee that list.head never throws, etc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment