Skip to content

Commit 6fc8931

Browse files
committed
formatting
1 parent a0f25f1 commit 6fc8931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/monad-transformers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ In this example, we combine the `IO` and `Maybe` monads. `lift getLine` allows u
8585

8686
Note that in this particular example, the use of `lift` in `lift getLine` is equivalent to `liftIO getLine` since we have a one-layer transformer on top of `IO`.
8787

88+
### lift vs liftIO
89+
8890
Here's a (somewhat contrived) example that demonstrates the difference between `lift` and `liftIO` and the usefulness of the latter.
8991

9092
```haskell

0 commit comments

Comments
 (0)