On Thu, Oct 16, 2008 at 8:13 PM, Timothy Pratley
<[EMAIL PROTECTED]> wrote:
>
> Maybe something along these lines?
>
> (defn myreplace [str [a b]]
>  (.replace str a b))
> (myreplace target search-replace)
> -> "heo world"
>
Clojure's ML/Haskell-style deconstructing of sequences takes a while
to sink in -- I wish Scheme has it :)


-- 
miʃel salim  •  http://hircus.jaiku.com/
IUCS         •  [EMAIL PROTECTED]
Fedora       •  [EMAIL PROTECTED]
MacPorts     •  [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to