Subject: Re: Scheme values and call-with-values
From: Erik Naggum <clerik@naggum.no>
Date: 1997/12/03
Newsgroups: comp.lang.lisp,comp.lang.scheme
Message-ID: <3090178320166777@naggum.no>


* Brad Lucier
| Is there a notationally less cumbersome way to unwrap the six point
| objects using some combination of values and call-with-values?
| 
| I'm cross-posting this to comp.lang.lisp to see if the CL users would
| like to comment on how to do something like this in Common Lisp.

well, FWIW, here's how I would do it in Common Lisp:

    (defun make-3-point-transformation (point-1 point-2 point-3
					point-1-image point-2-image)
      (multiple-value-call #'make-3-point-transformation*
	(point-position point-1)
	(point-position point-2)
	(point-position point-3)
	(point-position point-1-image)
	(point-position point-2-image)))

#\Erik
-- 
if you think this year is "97", _you_ are not "year 2000 compliant".

see http://sourcery.naggum.no/emacs/ for GNU Emacs 20-related material.