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

Commit f29771c

Browse files
authored
Update README.md
1 parent 232a12a commit f29771c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Similarly, if we were using `Free` directly, instead of using type classes to ab
4444
data ConfigF a
4545
= ReadConfig (Config -> a)
4646

47-
serverAddress :: PrismT' f ConfigF -> Free f InetAddress
47+
serverAddress :: ReaderT (PrismT' f ConfigF) (Free f) InetAddress
4848
```
4949

5050
In this case, we have all the benefits of finely-grained effects, including semantic descriptions of those effects, but without needing to use labels in effect rows.

0 commit comments

Comments
 (0)