Yes, so it is no real replacement. For that we need yo hamdle vectors , structs etc. Eg cycles is only allowed in the pair part.
If we wan't this for the general case, please ask! /stefan Den 3 sep 2012 23:12 skrev "Ludovic Courtès" <l...@gnu.org>: > Hi, > > Stefan Israelsson Tampe <stefan.ita...@gmail.com> skribis: > > > (define (c-equal-1 x y) > > (match x > > (((and xx (_ . _)) . _) > > [...] > > > ((xx . _) > > [...] > > > (_ (equal? x y)))) > > Doesn’t this mean that ‘cycle-equal?’ falls back to ‘equal?’ for > non-pairs? > > Ludo’. >