Skip to content

Instantly share code, notes, and snippets.

@neerajgoel82
Last active May 23, 2017 14:30
Show Gist options
  • Save neerajgoel82/d5a8a32f7e46d524fc4e5bdaa9c6aa4f to your computer and use it in GitHub Desktop.
Save neerajgoel82/d5a8a32f7e46d524fc4e5bdaa9c6aa4f to your computer and use it in GitHub Desktop.
- Best Practice: write implicit conversion to types that you own
- Implicits can always be explicitly provided
Coursera courses
- https://www.coursera.org/learn/progfun1/home/welcome
Cheatsheet for this course is present at https://github.com/lampepfl/progfun-wiki/blob/gh-pages/CheatSheet.md
- https://www.coursera.org/learn/progfun2/home/welcome
Cheatsheet for this course is present at https://github.com/sjuvekar/reactive-programming-scala/blob/master/ReactiveCheatSheet.md
progfun2
--------
- for expression can be expressed in terms of higher order functions map, flatMap, withFilter
- Monad is any Data structure with flatMap and unit operation
- map can be defined as a combination of flatMap and unit .. m map f == m flatMap(x => unit(f(x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment