Dear Sandro,

* [email protected] <[email protected]> [110119 03:09]:
> Is there a reason why <pair> is a subclass of <list>?

This reflects the way scheme sees lists, which are build of pairs:

(equal? (cons 1 (cons 2 (cons 3 (cons 4 (cons 5 '())))))
      (list 1 2 3 4 5))

=> #t

Does this help?

Christian

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to