[plt-scheme] Formlets in PLT

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Sep 17 07:49:12 EDT 2008

At Wed, 17 Sep 2008 06:54:35 -0400, Eli Barzilay wrote:
> On Sep 17, Dave Herman wrote:
> > > In the latest SVN, there is a web-server/formlets directory with a
> > > 'formlets' module.
> > 
> > How about a `main' module in the web-server/formlets directory...
> > 
> > > (require web-server/formlets/formlets)
> > 
> > ...so you could write (require web-server/formlets)?
> 
> The `main.ss' thing works only at the top level of a collection.

But if you want to use the path `web-server/formlets' (which seems like
a good idea to me), you just create a "formlets.ss" in the "web-server"
collection.




Posted on the users mailing list.