[Haskell-cafe] no sparks?

Felipe Lessa felipe.lessa at gmail.com
Sun Dec 20 20:03:20 EST 2009

On Mon, Dec 21, 2009 at 01:46:57AM +0100, Daniel Fischer wrote:
> Am Montag 21 Dezember 2009 01:00:10 schrieb Felipe Lessa:
> > There's 'unamb' in Hackage, however I think you should carefully
> > understand its implementation details before using it.  Not that
> > I use it myself.
> Which is a (much) refined version of the above, wrapped in
> unsafePerformIO.  It is your obligation to call it only when
> legit, because it is *not* referentially transparent:

Actually my concern was about performance, not correctness.
That's why I mentioned the "implementation details".  It is
probably easy to make your machine crawl by putting unamb in your
inner loop.


More information about the Haskell-Cafe mailing list