[gambit-list] check vs null
lowly coder
lowlycoder at huoyanjinjing.com
Sat Feb 14 17:08:05 EST 2009
suppose I have c code of:
[1] foo *bar = get_foo();
[2] if (bar != NULL) { ... }
in scheme, I have
(let ((bar (get-foo))) [1]
[2] <-- how do I write this line in scheme?
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090214/facf9861/attachment.htm>
More information about the Gambit-list
mailing list