Skip to content

Commit 5444a74

Browse files
authored
Merge pull request #16 from justinwoo/fix-example
fix example causing breaking builds on users of this package
2 parents 2ebad3f + c866ab4 commit 5444a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/Gzip.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import Node.Stream
77
import Control.Monad.Eff
88
import Control.Monad.Eff.Console
99

10-
foreign import data GZIP :: !
10+
foreign import data GZIP :: Effect
1111

1212
foreign import gzip :: forall eff. Eff (gzip :: GZIP | eff) (Duplex (gzip :: GZIP | eff))
1313
foreign import stdin :: forall eff. Readable () (console :: CONSOLE | eff)
1414
foreign import stdout :: forall eff. Writable () (console :: CONSOLE | eff)
1515

1616
main = do
1717
z <- gzip
18-
stdin `pipe` z
18+
_ <- stdin `pipe` z
1919
z `pipe` stdout

0 commit comments

Comments
 (0)