thingie.scm 627 B

12345678910111213141516171819
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: Richard Kelsey, Jonathan Rees, Mike Sperber
  3. ; A thingie (placecard?) is used to hold a spot for a location that is to be
  4. ; found later. The compiler sticks them in templates and the module system
  5. ; later replaces them with locations.
  6. ;
  7. ; We can't use (BEGIN ...) for this trivial package because it is loaded
  8. ; by flatload, which can't handle them.
  9. (define-record-type thingie :thingie
  10. (make-thingie binding name assigned?)
  11. thingie?
  12. (binding thingie-binding)
  13. (name thingie-name)
  14. (assigned? thingie-assigned? set-thingie-assigned?!))