I think process-conduit is what you are looking for.
On Apr 8, 2012 1:22 AM, "Clark Gaebel" <cgae...@uwaterloo.ca> wrote:

> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to