←back to thread

99 points agnishom | 2 comments | | HN request time: 0.575s | source
Show context
codethief ◴[] No.44363911[source]
Reminds me of this classic: https://aphyr.com/posts/342-typing-the-technical-interview
replies(3): >>44364822 #>>44365630 #>>44366038 #
mightybyte ◴[] No.44366038[source]
As a professional haskeller, I feel it necessary to point out for people in this thread who are less exposed to Haskell and who may be Haskell-curious...this is not what real-world commercial Haskell code looks like. To use a C analogy, I'd say it's closer to IOCCC entries than Linux kernel code.
replies(2): >>44366389 #>>44368718 #
1. tmtvl ◴[] No.44368718[source]
As someone who has never touched Haskell and who knows nearly nothing about it, Haskell is not, in fact, a "dynamically typed, interpreted language", which, "has no currying".
replies(1): >>44372710 #
2. agnishom ◴[] No.44372710[source]
At the risk of explaining away a perfectly good joke, that person is writing programs at the type level. The joke is that the type system is turing complete if you enable the right extensions.