Module

Partial.Unsafe

Utilities for working with partial functions. See the README for more documentation.

#unsafePartial

unsafePartial :: forall a. (Partial => a) -> a

Discharge a partiality constraint, unsafely.

#unsafePartialBecause

unsafePartialBecause :: forall a. String -> (Partial => a) -> a

deprecated: use unsafePartial instead.

#unsafeCrashWith

unsafeCrashWith :: forall a. String -> a

A function which crashes with the specified error message.

Modules