Welcome to the CHICKEN Scheme pasting service

filter! added by mdhughes on Fri Sep 13 16:26:16 2019

(import srfi-1)
(define a '(1 2 3 4 5 6))
(filter! even? a) ;; => (2 4 6)
a ;; expected (2 4 6), but got (1 2 4 6)
(define a '(1 2 3 4 5 6))
(filter even? a) ;; => (2 4 6)
a ;; => (1 2 3 4 5 6)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the equality predicate for strings in R5RS?
Visually impaired? Let me spell it for you (wav file) download WAV