Help m understand...
f :: Void -> Stringf _ = "WAT??"
f (error "Hey")
#haskell
@arialdo What do you want to understand? The function ignores its argument to produce String. It may as well be `f :: a -> String`.
The `error` argument isn't evaluated and so no actual errorirng happens.
@dpwiz I was not aware that Void was not completely void.
@arialdo There's [Void#](https://hackage.haskell.org/package/base-4.19.0.0/docs/GHC-Exts.html#t:Void-35-), for the times when you really want to a-void something
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@dpwiz I was not aware that Void was not completely void.