You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
822 B
46 lines
822 B
7 years ago
|
# 26 Monad Transformers
|
||
|
|
||
|
## 26.3 EitherT
|
||
|
|
||
|
see [src/EitherT.hs](./src/EitherT.hs)
|
||
|
|
||
|
## 26.5 StateT
|
||
|
|
||
|
see [src/StateT.hs](./src/StateT.hs)
|
||
|
|
||
|
## 26.8 Wrap it up
|
||
|
|
||
|
see [src/WrapItUp.hs](./src/WrapItUp.hs)
|
||
|
|
||
|
## 26.9 Exercises: Lift More
|
||
|
|
||
|
1. see [src/EitherT.hs](./src/EitherT.hs)
|
||
|
2. see [src/StateT.hs](./src/StateT.hs)
|
||
|
|
||
|
## 26.10 Exercises: Some Instances
|
||
|
|
||
|
1. see [src/MaybeT.hs](./src/MaybeT.hs)
|
||
|
2. see [src/ReaderT.hs](./src/ReaderT.hs)
|
||
|
3. see [src/StateT.hs](./src/StateT.hs)
|
||
|
|
||
|
## 26.12 Hypothetical Exercise
|
||
|
|
||
|
see [src/Hypo.hs](./src/Hypo.hs)
|
||
|
|
||
|
## 26.14 Chapter Exercises
|
||
|
|
||
|
### Write the code
|
||
|
|
||
|
see [src/WriteTheCode.hs](./src/WriteTheCode.hs)
|
||
|
|
||
|
### Fix the code
|
||
|
|
||
|
see [src/FixTheCode.hs](./src/FixTheCode.hs)
|
||
|
|
||
|
### Hit counter
|
||
|
|
||
|
see [hit-counter/Main.hs](./hit-counter/Main.hs)
|
||
|
|
||
|
### Morra
|
||
|
|
||
|
see [morra/src/Morra.hs](./morra/src/Morra.hs)
|