[Haskell-cafe] Conduits and Unix Pipes
Clark Gaebel
cgaebel at uwaterloo.ca
Sat Apr 7 19:21:09 CEST 2012
Has anyone built an adapter between unix pipes and conduits? Something like:
upipe2conduit :: String -> Conduit Char Char
let someLines = "hello\nworld"
nLines <- (read . runResourceT $ sourceList someLines $= upipe2conduit "wc
-l" $$ consume) :: Integer
If this has been done, is it on hackage?
Thanks,
- clark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120407/361a2c61/attachment.htm>
More information about the Haskell-Cafe
mailing list