[plt-scheme] static variable redux

Grant Rettke grettke at acm.org
Thu Jul 2 10:37:15 EDT 2009


2009/7/1 Hugh Myers <hsmyers at gmail.com>:
> Here is what I came up with after wandering through a thicket of
> docs(thanks all!):

You might call your functions immediately to avoid the need to do so
when calling the counter:

      ((eq? m 'next) (next))
      ((eq? m 'reset) (reset))


More information about the plt-scheme mailing list