Welcome to the CHICKEN Scheme pasting service

Set comparison added by zilti on Mon Jan 26 11:37:25 2015

(use arrays)
(import sets)

(define set1 (set 1 2 "3" "4"))
(define set2 (set 1 2 "3" "4"))

(set= set1 set2)                           ;; => #f
(equal? set1 set2)                         ;; => #f
(equal? (set->list set1) (set->list set2)) ;; => #t

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `foreign-declare'?
Visually impaired? Let me spell it for you (wav file) download WAV