I believe there are two exercises sets in the "Composing Types" chapter. Here are *some* of my answers so far... I'm having trouble implementing Foldable for Compose. I was able to implement a version of it by adding the (Functor f) constraint to the instance signature, but I think I cheated. I will revisit these problems as well as the earlier exercises later. |
||
|---|---|---|
| .. | ||
| .ghci | ||
| applicative.hs | ||
| composing-types.hs | ||
| foldable.hs | ||
| monad.hs | ||
| reader.hs | ||
| shell.nix | ||
| state.hs | ||
| traversable.hs | ||