Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Functional programming beyond Haskell

Name: Anonymous 2015-02-20 8:36

We have all learned functional programming in Haskell, but there are more functional languages like Lisp, Scheme, ML, and Clean.

Why should we even bother to look further than Haskell?

- You want your programs to run faster.
- Monads drive you mad (what are they anyway? warm fuzzy things?).
- You need objects.
- You sometimes need a more powerful module system.
http://www.cs.uu.nl/wiki/pub/Stc/BeyondFunctionalProgrammingInHaskell:AnIntroductionToOCaml/ocaml.pdf

Name: Anonymous 2015-02-28 14:12

>>93
Are SML functors achievable with a library and a compiler flag?

Yes, seeing things like a + b makes it really hard to understand what is actually going on. Is it... could it possibly be... addition?.. I once spent two and a half hours figuring out what + meant in a particular hard-to-absorb context, so I definitely hear your pain there.

We also need separate functions lengthList, lengthText, lengthArray, lengthMutableArray, sizeSet, sizeHashMap, sizeStack, sizeQueue etc just like in Scheme. That way we can be sure everything's correct by design!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List