Module Unsafe

Library containing unsafe operations. These operations should be carefully used (e.g., for testing or debugging). These operations should not be used in application programs!

Author: Michael Hanus, Bjoern Peemoeller

Version: September 2013

Summary of exported operations:

unsafePerformIO :: IO a -> a   
Performs and hides an I/O action in a computation (use with care!).
trace :: String -> a -> a   
Prints the first argument as a side effect and behaves as identity on the second argument.

Exported operations:

unsafePerformIO :: IO a -> a   

Performs and hides an I/O action in a computation (use with care!).

Further infos:
  • externally defined

trace :: String -> a -> a   

Prints the first argument as a side effect and behaves as identity on the second argument.