On Fri, Sep 21, 2012 at 04:33:20PM +0200, Agata Murawska wrote: > On Fri, Sep 21, 2012 at 4:10 PM, Iustin Pop <[email protected]> wrote: > > On Fri, Sep 21, 2012 at 10:48:55AM +0200, Michael Hanselmann wrote: > >> unsafePerformIO is required to go from the IO monad to pure code. > > > > Short on time, but this is not the best way (just trying to prevent > > someone saying LGTM and committing this). > > You mean the fact that we do not sanitize the input that we read or > that we use something that is evil cheating mechanism that even has > "unsafe" in its name? ;)
Neither, actually - or a little bit of both. 'unsafePerformIO' is not evil, but it must be used correctly. regards, iustin
