<p>I think process-conduit is what you are looking for.</p>
<div class="gmail_quote">On Apr 8, 2012 1:22 AM, &quot;Clark Gaebel&quot; &lt;<a href="mailto:cgaebel@uwaterloo.ca">cgaebel@uwaterloo.ca</a>&gt; 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 -&gt; Conduit Char Char<br><br>let someLines = &quot;hello\nworld&quot;<br>nLines &lt;- (read . runResourceT $ sourceList someLines $= upipe2conduit &quot;wc -l&quot; $$ 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>