Skip to content
This repository was archived by the owner on Oct 23, 2018. It is now read-only.

Commit 908d8d1

Browse files
committed
Fix #106, pure not return
1 parent ce3dd07 commit 908d8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/chapter12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ copyFileCont
241241
copyFileCont src dest = do
242242
e <- readFileCont src
243243
case e of
244-
Left err -> return $ Left err
244+
Left err -> pure $ Left err
245245
Right content -> writeFileCont dest content
246246
```
247247

0 commit comments

Comments
 (0)