On Tue, Sep 8, 2020 at 12:55 PM Christos Vagias
<[email protected]> wrote:
>
> (if () 1 2) => returns 1
>
> Similarly with s7_nil (as returned from a c binding)
>
> I think s7_nil should behave as #f.
>
> Opinions?
>

There's lots of situations where this would be practical, but since s7
is a Scheme implementation, I think it's probably best to behave as #t
to avoid trouble when porting to other scheme implementations. Also,
people who knows scheme would be confused if '() returned #f.
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to