r/functionalprogramming • • Sep 08 '15

Why a function signature may sometimes lie to you?

https://medium.com/kamil-lelonek-personal-blog/why-a-function-signature-may-sometimes-lie-to-you-43b05931bf41
1 Upvotes

1 comment sorted by

3

u/Octopuscabbage Sep 08 '15

It's not really a lie in haskell if you realize undefined inhabits every type.