Top "Unsafe-perform-io" questions

This tag is for questions concerning the function `unsafePerformIO` in Haskell and Scala, which lets you do arbitrary IO inside a pure expression.

Am I abusing unsafePerformIO?

To get acquainted with unsafePerformIO (how to use it and when to use it), I've implemented a module for generating …

haskell unsafe-perform-io
Is Haskell really a purely functional language considering unsafePerformIO?

Haskell is generally referenced as an example of a purely functional language. How can this be justified given the existence …

haskell functional-programming type-systems referential-transparency unsafe-perform-io