An hour and a half ago, Robby Findler wrote: > Did you consider an optional argument to string-trim?
Yes, but it seems that if you're moving from (string-trim "stuff" " ") to some (string-trim "stuff" " " #:repeated? #t) then you could just as well go with (string-trim "stuff" #rx" +") instead. IOW, a keyword is possible, but doesn't seem useful given that the intention is for this to be a function that is simple and/or convenient. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________ Racket Developers list: http://lists.racket-lang.org/dev