shithub: MicroHs

ref: 6a67714e02cd9cd49377591c39f03bb1f06814f7
dir: /lib/Data/Void.hs/

View raw version
module Data.Void(module Data.Void) where
import Prelude(); import MiniPrelude

data Void

absurd :: forall a . Void -> a
absurd v = seq v (error "absurd")

vacuous :: forall f a . Functor f => f Void -> f a
vacuous = fmap absurd