We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ebad3f + c866ab4 commit 5444a74Copy full SHA for 5444a74
example/Gzip.purs
@@ -7,13 +7,13 @@ import Node.Stream
7
import Control.Monad.Eff
8
import Control.Monad.Eff.Console
9
10
-foreign import data GZIP :: !
+foreign import data GZIP :: Effect
11
12
foreign import gzip :: forall eff. Eff (gzip :: GZIP | eff) (Duplex (gzip :: GZIP | eff))
13
foreign import stdin :: forall eff. Readable () (console :: CONSOLE | eff)
14
foreign import stdout :: forall eff. Writable () (console :: CONSOLE | eff)
15
16
main = do
17
z <- gzip
18
- stdin `pipe` z
+ _ <- stdin `pipe` z
19
z `pipe` stdout
0 commit comments