Subject: Re: Optimising passed function
From: Erik Naggum <erik@naggum.net>
Date: Sat, 09 Feb 2002 08:38:24 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3222232705639318@naggum.net>

* Heiko Schaefer <heiko.schaefer@swissonline.ch>
| I am passing a function to another function and would 
| like to ensure fastest compilation. 
| How can I tell the compiler that the passed 
| function returns a double-float?

  (declare (type (function <arglist> double-float) <variable>))

  See the entry for the system class function in the hyperspec.

///
-- 
  In a fight against something, the fight has value, victory has none.
  In a fight for something, the fight is a loss, victory merely relief.