mirror of
https://github.com/nmattia/snack.git
synced 2024-09-11 11:55:36 +03:00
Reproduction for swp file as input, #80.
This commit is contained in:
parent
3e7b93ceae
commit
d4ec01d2d9
3
tests/swp/package.nix
Normal file
3
tests/swp/package.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{ src = ./src;
|
||||
dependencies = [ "conduit" ];
|
||||
}
|
BIN
tests/swp/src/Foo/.Bar.hs.swp
Normal file
BIN
tests/swp/src/Foo/.Bar.hs.swp
Normal file
Binary file not shown.
9
tests/swp/src/Foo/Bar.hs
Normal file
9
tests/swp/src/Foo/Bar.hs
Normal file
@ -0,0 +1,9 @@
|
||||
module Bar where
|
||||
|
||||
import Conduit
|
||||
|
||||
spitOut :: ConduitT () Int IO ()
|
||||
spitOut = yieldMany [ 1 ..]
|
||||
|
||||
digest :: ConduitT Int Void IO ()
|
||||
digest = mapM_C print
|
Loading…
Reference in New Issue
Block a user