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

> Cool, I have no idea what the fuck this means and how it is useful to me.

> Oh wait, I use them every day.

Do you really? Do the `functions` you use even fit the above definition?

I bet you can think of infinite number of functions (bool -> bool). The above definition admits only 4 such functions.



There are only 4 (2**2) such pure functions. For type (Bool -> IO Bool), there are infinite (∞**2) such pure functions.




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

Search: