[Haskell-cafe] Iteratee IO examples

2011-06-24 Thread David Place
Hi, I've been trying to learn Iteratee IO. I've made some progress by studying John Millikin's examples in the source of the enumerator package. I was surprised how confusing I found the tutorials that are available. I think that it is primarily because of the lack of concrete examples. It w

Re: [Haskell-cafe] Iteratee IO examples

2011-06-24 Thread Henk-Jan van Tuyl
On Fri, 24 Jun 2011 15:11:59 +0200, David Place wrote: Hi, I've been trying to learn Iteratee IO. I've made some progress by studying John Millikin's examples in the source of the enumerator package. I was surprised how confusing I found the tutorials that are available. I think that

Re: [Haskell-cafe] Iteratee IO examples

2011-06-24 Thread Eric Rasmussen
Hi, Examples are very helpful to me too -- thank you for sharing. I'm especially curious to see if there are any examples that allow you to use or convert non-iteratee-based functions. I have only just begun reading about iteratees and might be missing the point, but it seems like many of the exam

Re: [Haskell-cafe] Iteratee IO examples

2011-06-25 Thread John Lato
From: Eric Rasmussen > > Hi, > > Examples are very helpful to me too -- thank you for sharing. I'm > especially > curious to see if there are any examples that allow you to use or convert > non-iteratee-based functions. I have only just begun reading about > iteratees > and might be missing the p

Re: [Haskell-cafe] Iteratee IO examples

2011-06-25 Thread wren ng thornton
On 6/25/11 6:51 AM, John Lato wrote: > Honestly I'm quite dis-satisfied with the current state of code which > depends on iteratee/enumerator. It's nearly all written in a very low-level > style, i.e. directly writing 'liftI step', or 'case x of Yield -> ...'. > This is exactly what I would hope

Re: [Haskell-cafe] Iteratee IO examples

2011-06-25 Thread John Lato
On Sat, Jun 25, 2011 at 10:18 PM, wren ng thornton wrote: > On 6/25/11 6:51 AM, John Lato wrote: > > Honestly I'm quite dis-satisfied with the current state of code which > > depends on iteratee/enumerator. It's nearly all written in a very > low-level > > style, i.e. directly writing 'liftI step