Roger that.
Thanks for the help.
2011/2/13 Stuart Sierra
> Redefining equality is not something to be taken lightly. It can break in
> subtle ways with identity and hash codes.
>
> You may want a custom equality function, like "equal up to n elements of a
> sequence," for use in your tests.
>
Redefining equality is not something to be taken lightly. It can break in
subtle ways with identity and hash codes.
You may want a custom equality function, like "equal up to n elements of a
sequence," for use in your tests.
-Stuart Sierra
clojure.com
--
You received this message because you
I have a statemap with a couple of infinite lazy-seq.
When doing testing I want to check states for equality.
This of course fails on the whole infinite thing.
The sane thing is taking only the first item from the seqs when doing the
equality check.
How would I accomplish this in the easiest way?