nicholasbs/statemachines — comment on commit 4fc7e8d6e8b7414c8f30a2ad7f2a4be01f049fec
File: pda.ss line 32
By nicholasbs:

On Wed, Oct 19, 2011 at 5:33 AM, Andrew Gwozdziewycz

wrote:
> No need for `(if)` here, because #f and '() are treated as false in a boolean context. Also, there's no need to quote a constant like #t or #f--they already evaluate to themselves.

It felt weird returning '()/nil here. In JavaScript I'd do, e.g.
"return !!foo;" -- is there a similar idiom, or is the right thing to
just return '()?

>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/nicholasbs/statemachines/commit/4fc7e8d6e8b7414c8f30a2ad7f2a4be01f049fec#commitcomment-660644
>