[racket-dev] take/drop argument order

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Thu Apr 11 14:00:08 EDT 2013

On 2013-04-11 12:05:59 -0400, Eli Barzilay wrote:
>   Remove the `*f' functions from the interface, and change the
>   non-`*f' functions to accept keywords as follows:
>
>       (take #:num N L)
>       (take #:while P L)
>       (take #:until P L)

I like this suggestion since keywords seem like a nice Rackety solution.

On the other hand, does this solve the original problem? As I
understand, the original objection was that the `take` arguments should
look familiar to someone from Clojure, Haskell, etc.

Also, what happens if I wrote the following?

  (take #:while P L 5)

Cheers,
Asumu

Posted on the dev mailing list.