[plt-scheme] Programming without Objects

From: CuppoJava (patrickli_2001 at hotmail.com)
Date: Mon Aug 25 09:57:35 EDT 2008

I'm in the midst of learning Scheme right now, and just need a major
shift in thinking.
What is the basic structure behind Schemes that don't use objects?

ie. in an OO language:

A function that takes a list of objects, and then calls quack() on
each object in turn.

Therefore, any object that implements quack() can be used with that

How would you structure a similar program in Scheme without OO?

Thanks for the help

Posted on the users mailing list.