Viewing profile — Muphrid
Muphrid
HN member- Joined
- Thu, Sep 24, 2015, 3:01 AM UTC
- HN karma
- 2
- Public activity
- 4 items
- HN profile
- View on Hacker News ↗
About Muphrid
No profile information was provided.
Recent public activity
-
comment
Comment #10284627
That operation is called fmap, and it's characteristic of a functor. In Haskell, it's called liftM for monads, but they're really the same thing (and I think recent proposals are g…
-
comment
Comment #10281967
No, plain functors, applicative functors, and monads each deal with a different potential use case. Look at the specific type signatures: plain functor - fmap: (a -> b) -> (F a -> …
-
comment
Comment #10272324
The order of operations here is "right associative". So A -> B -> C -> D is equivalent to any of the following A -> (B -> C -> D) A -> (B -> (C -> D)) A -> B -> (C -> D) They're eq…
-
comment
Comment #10269660
Whoever told you it has to do with IO and functional purity vastly oversimplified things. That is just one use case. Monads take care of a very common computation pattern: wrapping…