<p>I think process-conduit is what you are looking for.</p>
<div class="gmail_quote">On Apr 8, 2012 1:22 AM, "Clark Gaebel" <<a href="mailto:cgaebel@uwaterloo.ca">cgaebel@uwaterloo.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="verdana,sans-serif">Has anyone built an adapter between unix pipes and conduits? Something like:<br><br>upipe2conduit :: String -> Conduit Char Char<br><br>let someLines = "hello\nworld"<br>nLines <- (read . runResourceT $ sourceList someLines $= upipe2conduit "wc -l" $$ consume) :: Integer<br>
<br>If this has been done, is it on hackage?<br><br>Thanks,<br> - clark<br></font>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div>