Re:Emacs script pitfalls
by michaelsbradley on Sunday November 23, 2014 @11:34PM
(#8651067)
Sure, Racket is not a functional language in the same sense as Haskell, Pure, Clean, etc.
However, some Lisps/Schemes go further than others to support and promote programming in a functional style. I'm unfamiliar with Chicken Scheme and haven't spent any time with Guile, so I can't comment on those languages.
Racket and Clojure, in my experience, both tend to heavily favor the functional style with respect to their core libraries and defaults regarding im/mutability.
And, as long as we're talking Schemes, perhaps the most appropriate Scheme for Emacs users to try is Guile,[2] for its integration in to Emacs.[3]
That said, no Scheme (or Lisp) can be properly called a "functional language". They are multi-pradigm languages. You can write in a functional style in them, but you are not forced to do so. Same with OCaml, for that matter.
[1] - http://www.call-cc.org/
[2] - https://www.gnu.org/software/guile/
[3] - http://www.emacswiki.org/emacs/GuileEmacs