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-27 21:59

>>74,76
It really fucking depends man. Wasting memory is wasting cache -> wasting time. GHC can be intelligent about when to compute vs. when to memoize, but OCaml can be intelligent about when to defer/cache computation. Neither seem to do a super great job of these things. You don't want the lazy default if you care about latency.

>>78
Lazy vs. eager doesn't divide functional and imperative programming. What are you smoking?

>>80
Can't argue with this, even the OCaml jab. Not sure why you would even tolerate a broken numeric tower, but whatever floats your boat.

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