[Haskell-cafe] Is it safe to use unsafePerformIO here?
Cristiano Paris
frodo at theshire.org
Fri Sep 18 04:49:03 EDT 2009
On Fri, Sep 18, 2009 at 4:06 AM, Ryan Ingram <ryani.spam at gmail.com> wrote:
> I am confused about why this thread is talking about unsafePerformIO at
> all. It seems like everything you all want to do can be accomplished with
> the much less evil unsafeInterleaveIO instead. (Which is still a bit evil;
> but it's the difference between stealing cookies from the cookie jar and
> committing genocide)
I didn't read about unsafeIntervleaveIO but yesterday I rewrote my
code exactly as you did here, and it allowed me to use the applicative
style...
Cristiano
More information about the Haskell-Cafe
mailing list