[plt-scheme] nil?

From: Ray Racine (ray.racine at comcast.net)
Date: Mon Sep 24 20:20:36 EDT 2007

Depending on your needs ...

Recently I needed a distinguished value for a Scheme<->JSON
reader/writer to map the JSON null and used (void).  

> (list 1 2 (void))
(1 2 #<void>)
>

On Mon, 2007-09-24 at 19:52 -0400, Greg Johnston wrote:
> Nope. "nil" doesn't exist. If you want "false," go with #f. If you
> want "empty list," go with '().
> 
> On 9/24/07, Kilik <kilik3000 at gmail.com> wrote:
>         I'm trying to specify nil in some Scheme code but I get the
>         following 
>         error:
>         
>         "reference to undefined identifier: nil"
>         
>         Any thoughts?  Shouldn't the identifier for nil be there?
>         
>         -Thx
>         
>         _________________________________________________
>           For list-related administrative tasks: 
>           http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.