[plt-scheme] equal? for images

From: Corey Sweeney (corey.sweeney at gmail.com)
Date: Tue Dec 27 15:24:28 EST 2005

I just have to say that that's really cool.

Corey

On 12/19/05, Robby Findler <robby at cs.uchicago.edu> wrote:
>
> 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
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



--
((lambda (y) (y y)) (lambda (y) (y y)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20051227/f232c243/attachment.html>

Posted on the users mailing list.