FP Concepts

4,222 views
4,185 views

Published on

FP, Concepts, Scala, Haskell, Fp, Currying, Lambda, Higher Order Functions, Functional,

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,222
On SlideShare
0
From Embeds
0
Number of Embeds
2,492
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

FP Concepts

  1. 1. 3 FP Concepts Higher Order Functions, Lambda and Currying@diego_pacheco  about.me/diegopacheco
  2. 2. 3 FP Concepts Lambda Higher Order Functions Currying
  3. 3. Lambda
  4. 4. Lambda Anonymous Functions We need just one time Work with Higher Order Functions Haskell:  Scala: () =>
  5. 5. Lambda
  6. 6. Higher Order Functions
  7. 7. Higher Order Functions Receive Function as parameters Return a Function as output FP Ground, composition and laziness map reduce filter fold flat map drop exist take …
  8. 8. Higher Order Functions
  9. 9. Currying
  10. 10. Currying Transform: Chained Functions: Single arg Partial Application / Laziness / Composition Lambda calculus  Parallelism Some languages have nice syntax sugar
  11. 11. Let’s put some sugar on it…
  12. 12. Currying
  13. 13. Currying
  14. 14. Calculator Homework
  15. 15. Calculator Homework
  16. 16. Calculator Homework
  17. 17. Haskell Experience...
  18. 18. Haskell Experience...
  19. 19. Fizz Buzz Homework
  20. 20. Fizz Buzz Homework
  21. 21. Fizz Buzz Homework
  22. 22. https://github.com/diegopacheco/functional-society
  23. 23. 3 FP Concepts Thank You! Obrigado! Higher Order Functions, Lambda and Currying@diego_pacheco  about.me/diegopacheco

×