shithub: MicroHs

ref: 4bfbc3d969f7a427d0b95d0ad681ae4f0ca2aa83
dir: /lib/Control/Exn.hs/

View raw version
-- Copyright 2024 Lennart Augustsson
-- See LICENSE file for full license.
module Control.Exn(Exn(..), exnToString) where

-- Temporary exception type until we get proper exceptions.

newtype Exn = Exn String

exnToString :: Exn -> String
exnToString (Exn s) = s