---------- Forwarded message ---------- From: namekuseijin <namekusei...@gmail.com> Date: Thu, Apr 19, 2012 at 1:54 PM Subject: Re: [racket-dev] `string-split' To: Sam Tobin-Hochstadt <sa...@ccs.neu.edu>
On Thu, Apr 19, 2012 at 9:28 AM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> wrote: > Note that (string-split str ";") works given that implementation, while we're at it, why do you guys make the order or arguments like that? like, these are easier to read than in the order available in racket: (string-split "," "6,5,1,12,13,8,15,9,3,7,4,2,14,10,11") (sort < '(6 5 1 12 13 8 15 9 3 7 4 2 14 10 11)) (string-join "," '(6 5 1 12 13 8 15 9 3 7 4 2 14 10 11)) they also seem more sensible, because the more interesting argument for such functions is not what is to be operated upon, but the operator itself. Coupled with currying, it'd be heaven... :) ____________________ Racket Users list: http://lists.racket-lang.org/users