6 Oct
2009
6 Oct
'09
08:18
2009/10/6 Per Eckerdal <per.eckerdal@gmail.com>:
(if (equal? (car (command-line)) "bsc") (and (load "~~/lib/modules/build") (display "loaded blackhole extensions...") (newline)) #!void)
Ummm
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. P! -- That was my 2 cent-intervention