hx-0.4: Haskell extras (missing utility functions).

Stabilityprovisional
Maintainerjulian.fleischer@fu-berlin.de
Safe HaskellUnsafe

Haskell.X.Unsafe

Description

Unsafe functions (use for debugging only).

Synopsis

Documentation

trace :: Show a => a -> aSource

trace x shows and returns x.

debug :: Show b => b -> a -> aSource

debug x a shows x and returns a.

io :: IO a -> aSource

This is a shorthand for unsafePerformIO.