No matter what function we pass to triple_me, it will be applied three times to the passed value. Last example for today. Take a deep breath. We are now engaging in function composition, a common trick in FP:
No matter what function we pass to tripleme, it will be applied three times to…
104 viewsОткрыть в Telegram →
Из этого канала
- #11Enough for today 🙂 We will take a look at currying, pros of immutable…
Enough for today 🙂 We will take a look at currying, pros of immutable structures and few other functional programming concepts that we all should know to be…
- #12Andrey told me that I am dumbass not using Telegraph. I'll do, sorry for spam 🙂
Andrey told me that I am dumbass not using Telegraph. I'll do, sorry for spam 🙂
- #13Quick intro in currying: https://telegra.ph/Currying-09-22
Quick intro in currying: https://telegra.ph/Currying-09-22
- #7Type hints here are pretty strict here. Keep in mind that in the real world,…
Type hints here are pretty strict here. Keep in mind that in the real world, such functions will probably be more generic.
- #5So, basically, now I'm studying a theoretical course about the fundamental…
So, basically, now I'm studying a theoretical course about the fundamental concepts of Functional Programming.