shithub: MicroHs

ref: a61784c0598e8e8917053ab3b3e5def7190274cc
dir: /lib/Control/Error.hs/

View raw version
-- Copyright 2023 Lennart Augustsson
-- See LICENSE file for full license.
module Control.Error(module Control.Error) where
import Primitives
import Data.Char_Type

error :: forall a . String -> a
error = primError

undefined :: forall a . a
undefined = error "undefined"