Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The exact same way? Or perhaps you could tell me, in which cases can an Int not be turned into a Maybe Int?

Again, I don't know Haskell, so from the outside it looks like much the same as the float -> complex conversion.



It sounds like you need to learn about parametricity.

https://www.well-typed.com/blog/2015/05/parametricity/


It doesn't sound like that to me. Could you not just answer his question?


To whom shall I send the invoice?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: