[Haskell-cafe] Why not assign a type to unsafePerformIO?

Victor Nazarov asviraspossible at gmail.com
Wed Oct 3 18:41:15 EDT 2007

On 10/4/07, Justin Bailey <jgbailey at gmail.com> wrote:
> On 10/3/07, Victor Nazarov <asviraspossible at gmail.com> wrote:
> > But how would you know that evil dictator uses unsafePerformIO???
> You don't. unsafePerformIO  can't be taken it away (there are legitimate
> reasons to strip IO), which is why I wonder if it's useful at all.
> p.s. CC'ed to haskell-cafe

May be you should be interested in Tom Mortel's example of using

If you don't mean anything like this, I don't understand your intent.


More information about the Haskell-Cafe mailing list