[gambit-list] ##car ##cdr ##null?

Alex Queiroz asandroq at gmail.com
Fri Jun 11 08:51:06 EDT 2010


Hallo,

2010/6/11 Álvaro Castro-Castilla <alvaro.castro.castilla at gmail.com>:
> Hi,
>
> I can see sometimes these kind of procedures ##car, ##cdr, ##null? etc... in
> code that has been optimized for Gambit. What is exactly the difference
> between those and the standard ones? And if these ones are faster, why are
> they defined as separate functions instead of just substituting the standard
> ones when in (unsafe) compilation? Then, how are they really used?

$ gsi
> (car '())
*** ERROR IN (console)@1.1 -- (Argument 1) PAIR expected
(car '())
1> ,d
> (##car '())
Segmentation fault

Cheers,
-- 
-alex
http://www.ventonegro.org/



More information about the Gambit-list mailing list