Discover
Waves
Decks
Login
Discover
Waves
Decks
Buy perks
Login
Signup
25
weaming
Available
Used
Resource Credits
95 Followers
1 Following
May 16, 2018
RSS feed
Blog
Blog
Posts
Comments
Communities
Wallet
Mute
Center
weaming
haskell
6y
Understand Functor, Applicative and Monad
Functor A Functor is any data type that defines how fmap applies to it. Lists are functors too! Functions are Functors too. When you use fmap on a function, you're just doing function composition! Functors
$ 0.000
2
3
weaming
python
6y
String in Python2 and Python3
str in Python2 and Python3 It turns out that the Python 2 str type doesn't hold a string; it holds a sequence of bytes. In the old ASCII world, a string was simply a sequence of bytes, so this distinction
$ 0.082
7