[Haskell-cafe] Re: Functional version of this OO snippet
tom.davie at gmail.com
Fri Dec 5 11:06:55 EST 2008
On 5 Dec 2008, at 17:00, Duncan Coutts wrote:
> On Fri, 2008-12-05 at 16:50 +0100, Thomas Davie wrote:
>> Sure, and he could then use a fold instead of a map. Reading files
>> problematic, but as long as you're only doing it once (the most
>> situation) is entirely fine wrapped up in an unsafePerformIO.
> Please don't go telling people it's entirely fine to use
> like that (or at all really).
Exactly what isn't fine about it?
More information about the Haskell-Cafe