[racket-dev] `take' argument order

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Jun 8 11:33:01 EDT 2011

On Wed, Jun 8, 2011 at 10:30 AM, Stephen Bloch <sbloch at adelphi.edu> wrote:
>
> 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....

IMO, consistency with other Racket functions trumps this. By a lot.

Robby



Posted on the dev mailing list.