[racket] Super basic question about strings

From: namekuseijin (namekuseijin at gmail.com)
Date: Wed Nov 17 13:08:06 EST 2010

On Wed, Nov 17, 2010 at 4:00 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
> (define (alist->string.v5 alist)
>  (string-join (map (lambda (x) (string-append (symbol->string (car x)) "=" (number->string (cdr x)))) alist) " "))

don't you guys think it would be slightly more readable if string-join
accepted the glue string as first argument?  Lists always come last in
list-consuming functions like fold or map, precisely because they can
grow large...


Posted on the users mailing list.