>>>>> "rif" == rif <[EMAIL PROTECTED]> writes:
rif> ps. This example is taken from section 8.7.5 of the CMUCL manual. As
rif> far as I can tell, this example was never tested, as there are at least
rif> three errors:
rif> 1. The definition of sum is wrong --- it's declared to return a
rif> double and returns nothing.
rif> 2. The def-alien-routine call is wrong. It says (n int :in) but I'm
rif> pretty sure means (n integer :in).
rif> 3. The call (system:int-sap (array-data-address x)) can't work. It
rif> should be (system:vector-sap x).
rif> Does anyone agree/disagree that this example is of pretty low quality,
rif> and should probably be fixed up?
Yes, it should be fixed up. I'm pretty sure it was tested when
written, but I either mistranscribed it or changed it incorrectly.
Ray