shithub: MicroHs

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

View raw version
module Control.Exn(Exn, exnToString) where
import Control.Exception

type Exn = SomeException

exnToString :: Exn -> String
exnToString = trunc . show
  where trunc = head . lines