Type hints here are pretty strict here. Keep in mind that in the real world, such functions will probably be more generic. Of course, we can create more sophisticated things like map, reduce, filter functions, and beloved closures, but we won't cover them today. Here's another example:
Type hints here are pretty strict here. Keep in mind that in the real world,…
104 viewsОткрыть в Telegram →
Из этого канала
- #9No matter what function we pass to tripleme, it will be applied three times to…
No matter what function we pass to tripleme, it will be applied three times to the passed value. Last example for today. Take a deep breath.
- #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 🙂
- #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.
- #3Oh, hello there. Here's the thing – it is quite challenging to write lengthy…
Oh, hello there. Here's the thing – it is quite challenging to write lengthy articles about complicated topics on a blog frequently, but I still want to follow…