by tromp · 1y ago · 0 comments
It makes more sense that Void should be void of values, i.e correspond to the empty set, as it does in Haskell [1]. Does OCaml have no empty type?
[1] https://hackage.haskell.org/package/void-0.6.1/docs/Data-Voi...
What I am really curious about is whether there's any uses of `absurd :: Void -> a` in the wild. I guess it's a top type for arbitrary functions, though I'm not sure how useful that is in itself...