Re:The Algebra of Algebraic data types
by wz1000 on Thursday June 25, 2015 @01:34PM
(#9779510)
Both of them are regarded as the same function(ignoring bottom) because there is no way to differentiate between them as you can never supply them with a value of type Void in order to see their result.
[ Parent
| on HN ]
They are similar in that they cannot be applied to any non-bottom value, but they are definitely not the same function.
>they are definitely not the same function
This depends on what equivalence you're using, and the only one in which it's true (definitional equality) isn't very interesting. Extensionally, the functions are identical.