[plt-scheme] equal? for images

From: Robby Findler (robby at cs.uchicago.edu)
Date: Mon Dec 19 01:55:34 EST 2005

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


Posted on the users mailing list.