[racket-dev] `take' argument order

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Wed Jun 8 11:30:29 EDT 2011

On Jun 8, 2011, at 9:55 AM, Eli Barzilay wrote:

> ... the
> justification for the argument order in Haskell is not laziness but
> its implicit currying -- so of course it shouldn't be a reason to make
> lazy racket follow it.]

Another justification for Haskell's argument order is compatibility with English: "take 5 primes" makes a lot more sense than "take primes 5".  It could be argued that compatibility with English is even more important than compatibility with Clojure, or Haskell, or SRFI/1, or racket/typed....

Stephen Bloch
sbloch at adelphi.edu

Posted on the dev mailing list.