Re: [Haskell-cafe] [Haskell] ANNOUNCE: control-monad-loop 0.1

2012-07-11 Thread Roman Cheplyaka
* Joey Adams [2012-07-09 14:29:43-0400] > > Also, it's not obvious how your tests work. Please consider using HUnit > > and test-framework (or similar) to organize them. > > The tests currently aren't automated. It's hard to write an automated > test to make sure a program doesn't leak. Not imp

Re: [Haskell-cafe] [Haskell] ANNOUNCE: control-monad-loop 0.1

2012-07-09 Thread Joey Adams
On Mon, Jul 9, 2012 at 8:28 AM, Roman Cheplyaka wrote: > Very nice! > > Here's a patch to generalize foreach to any Foldable: > https://github.com/joeyadams/haskell-control-monad-loop/pull/1 Thanks for the patch! I merged it, but I plan to wait a little while before uploading another release to

Re: [Haskell-cafe] [Haskell] ANNOUNCE: control-monad-loop 0.1

2012-07-09 Thread Roman Cheplyaka
* Joey Adams [2012-07-09 01:38:06-0400] > This package provides imperative-style loops supporting "continue" and > "break". For example: > > import Control.Monad > import Control.Monad.IO.Class > import Control.Monad.Trans.Loop > import Control.Monad.Trans.Class > > main ::