[plt-scheme] teachpacks vs. require

From: Lee Spector (lspector at hampshire.edu)
Date: Mon Jan 11 16:29:31 EST 2010

FWIW I was also confused by this, particularly when I tried to find a description in the documentation of what makes a teachpack different from a require and didn't find anything. I guess it may be handy in some cases but to me it just adds unnecessary mystery...

 -Lee


On Jan 11, 2010, at 4:16 PM, Matthias Felleisen wrote:

> 
> No.
> 
> On Jan 11, 2010, at 3:55 PM, Stephen Bloch wrote:
> 
>> It seems to me that "require" can do anything that "Add Teachpack..." can do, and much more.  The biggest practical difference seems to be that the set of loaded teachpacks is remembered from one DrScheme startup to the next, regardless of what source file you're looking at, whereas "require"s are in source files.  Which makes a lot more sense.  Am I missing something obvious?  Is there any reason I should use teachpacks, other than ease of typing the first example on Day 1?
>> 
>> Stephen Bloch
>> sbloch at adelphi.edu
>> 
>> 
>> 
>> _________________________________________________
>> 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

--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438

Check out Genetic Programming and Evolvable Machines:
http://www.springer.com/10710 - http://gpemjournal.blogspot.com/



Posted on the users mailing list.