Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

Commit 7bcde13

Browse files
Elaborate on unwrap
1 parent cd31d78 commit 7bcde13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ Therefore, MTL and direct-Free approaches can be considered alternatives to Pure
5555

5656
# Usage
5757

58-
`IO` only has one function, which should only be used in your `main`:
58+
`IO` is a newtype for `Aff`, which you can unwrap to be used in your `main`:
5959

6060
```haskell
61+
import Data.Newtype (unwrap)
62+
6163
unwrap :: forall a. IO a -> Aff (infinity :: INFINITY) a
6264
```
6365

0 commit comments

Comments
 (0)