You only exhaust the inliner if the pipeline has lots of stages with
branches (i.e. take, for example). Things like "map", won't exhaust the
inliner.
On Thu, Aug 27, 2015 at 10:59 AM John Wiegley <jo...@newartisans.com> wrote:

> >>>>> Michael Thompson <practical.wis...@gmail.com> writes:
>
> > I don't know how the fancy conduit system does if you put a user defined
> > function in the pipeline.
>
> A recursive user-defined function will disrupt fusion in the pipeline, and
> Michael mentions this when he says that any direct use of yield or await
> will
> abort fusion.  However, a non-recursive, inlined function should work fine.
>
> I also wonder if Gabriel's comment (in another e-mail) about exhausting the
> inliner applies to conduit too, and what the actual limits are.
>
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haskell Pipes" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to haskell-pipes+unsubscr...@googlegroups.com.
> To post to this group, send email to haskell-pipes@googlegroups.com.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to