[plt-scheme] struct-eqv?
Here I assume you are asking about struct-equal? instead of struct-eqv?.
None is build-in, but you can write one as:
(define (struct-equal? v1 v2)
(equal? (struct->vector v1)
(struct->vector v2)))
Chongkai
Stephen De Gabrielle wrote:
> Please forgive my ignorance,
>
> but is there a predicate for determining two different structs have
> the same field values?
>
> Cheers,
>
> Stephen
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>