Re: [racket] multi-replace function

2010-12-08 Thread prad
On Tue, 7 Dec 2010 02:15:42 -0500 Eli Barzilay wrote: > If you still want to go with the regexp approach ... > many thx eli and yc! yc's format idea will suffice for now - in fact, its simplicity is a bit humbling considering the elaborate stuff we'd written up. :D i will most certainly make

Re: [racket] multi-replace function

2010-12-06 Thread Eli Barzilay
15 minutes ago, YC wrote: > > On Mon, Dec 6, 2010 at 10:21 PM, prad wrote: > > i'm trying create a multi-replace function in racket where you can > substitute for patterns in a string with items in a list: > > (mult-repl "~A" >           "this ~A string will experience ~A substi

Re: [racket] multi-replace function

2010-12-06 Thread YC
On Mon, Dec 6, 2010 at 10:21 PM, prad wrote: > i'm trying create a multi-replace function in racket where you can > substitute for patterns in a string with items in a list: > > (mult-repl "~A" > "this ~A string will experience ~A substitution" > (list "wonderful" "massive"))