Roadsend Internal Scheme API

Gotchas

  • When getting a return value from php-hash-lookup, or any API function that may return a PHP NULL value, beware that even if (php-null? val) is #t, (if val #t #f) is #t! This is because currently a PHP NULL is represented as '() and in bigloo, (if '() #t #f) is #t. Therefore, the if block should instead be (if (php-null? val) ...).