Tag: haskell
-
Haskell: free vs freer vs tagless final — #1 Scenario & Transformers
The battle of the decouplers.
-
Haskell: Monad.
Or at least my attempt at explaining it
-
Haskell: Either.
Either is the
Prelude
provided type that allows us to work with functions that can return either one result or another. -
Haskell: State and StateT examples.
A look at the State Monad and StateT Monad Transformer.
-
Haskell: Applicative
Or how to do the same thing with a different approach.
-
Haskell: Functor
Coming from the world of category theory, a functor is a mapping between two categories:
-
Haskell: Monoids
Well believe it or not, Haskell defines a Monoid as a Typeclass, that lets you do funky stuff. Great!