[gambit-list] What's in your gambc.scm file?

Adrien Piérard pierarda at iro.umontreal.ca
Tue Oct 6 08:18:55 EDT 2009

2009/10/6 Per Eckerdal <per.eckerdal at gmail.com>:
>> (if (equal? (car (command-line)) "bsc")
>>     (and (load "~~/lib/modules/build")
>>          (display "loaded blackhole extensions...")
>>          (newline))
>>     #!void)


> What do you think?

That his version may not behave as expected the day that DISPLAY
returns #f (which is correct, as DISPLAY is returns an undefined
value, IIRC)
Also, load's semantics are not to be found in the documentation
(testing suggests it returns a string in successful cases, and an
error otherwise), so using it in an AND seems bug prone.


That was my 2 cent-intervention

More information about the Gambit-list mailing list