r/purescript • u/gb__ • Aug 10 '16
Approximating GADTs in PureScript
http://code.slipthrough.net/2016/08/10/approximating-gadts-in-purescript/
20
Upvotes
r/purescript • u/gb__ • Aug 10 '16
View all comments
1
u/gasche Aug 10 '16
The problem with this encoding with equality is that most encoding of type equalities are bad at reasoning with inequalities or, worse, constructor injectivity. How would you implement, for example
?