hw-prelude-0.0.4.1: Opinionated prelude library
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Unsafe

Synopsis

Documentation

error :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => [Char] -> a #

error stops execution and displays an error message.

undefined :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => a #

A special case of error. It is expected that compilers will recognize this and insert error messages which are more appropriate to the context in which undefined appears.