Welcome to the CHICKEN Scheme pasting service

string-replace* added by mario-goulart on Wed Nov 30 23:01:19 2011

(use srfi-13)

(define (string-replace* s orig replacement)
  (let ((idx (string-contains s orig)))
    (if idx
        (string-replace*
         (string-replace s replacement idx (+ idx (string-length orig)))
         orig
         replacement)
        s)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(apply + (list -3 4 2))'?