[plt-scheme] Slideshow best practices and tips?

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Fri Jul 25 13:11:11 EDT 2008

That's pretty cute, Grant, but you have a mismatch between intent and
implementation.  The macro *suggests* that it's perfectly okay to
write

  (add-slide (define (slide-2) ...))
  (add-slide (define (slide-1) ...))

whereas the implementation messes that up.  Why not instead have a
macro that actually understands the slide number and puts it in the
right place in the list of slides?  It'll take just a few more lines
of code and actually do the Right Thing.

Shriram


Posted on the users mailing list.