|
|
|
|
|
by harpocrates
3161 days ago
|
|
I would hardly identify lazy evaluation as a core feature of functional programming. It definitely forced Haskell not to compromise on purity but, as SPJ himself has pointed out, that may be the only strong thing it has going for it[0]. Currying is also nice, but I'm still not sure that is _core_ to FP. What Lisp is really missing from an FP perspective is purity. In fact, maybe a pure variant of Lisp would be perfect for teaching. [0]: https://www.microsoft.com/en-us/research/publication/wearing... |
|
How can you even teach what purity is, if it is enforced?
"Bad things could happen, take my word for it?"