[plt-scheme] equal? for images
Images are special cased in the teaching language's implementation of
equal? to look at the pixels and do a structural comparison. In the
professional languages, they are just treated as any other object, and
the comparison is identity-based (ie, if I mutate one of them, does the
other change).
hth,
Robby
At Sun, 18 Dec 2005 16:09:41 -0800, Joshua Zucker wrote:
> Hi folks,
> I would love some help understanding the different behavior of equal?
> with images in beginning student vs pretty big (and maybe some clue
> about at what language levels the difference happens, and what to do
> if I want to reproduce the beginning student behavior at the pretty
> big level).
>
> Thanks!
> --Joshua Zucker
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme