From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: HiPhish Newsgroups: gmane.lisp.guile.user Subject: Re: A value for "nothing" Date: Sat, 15 Sep 2018 00:45:11 +0200 Message-ID: <2244446.TfDt2vcRxf@aleksandar-ixtreme-m5740> References: <8995890.4T62A8Hj0k@aleksandar-ixtreme-m5740> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1536965021 11035 195.159.176.226 (14 Sep 2018 22:43:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 22:43:41 +0000 (UTC) Cc: guile-user@gnu.org To: John Cowan Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 15 00:43:37 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0woJ-0002ih-Du for guile-user@m.gmane.org; Sat, 15 Sep 2018 00:43:35 +0200 Original-Received: from localhost ([::1]:53557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0wqP-0004z3-NJ for guile-user@m.gmane.org; Fri, 14 Sep 2018 18:45:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0wq1-0004xT-0F for guile-user@gnu.org; Fri, 14 Sep 2018 18:45:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0wpx-000490-Rn for guile-user@gnu.org; Fri, 14 Sep 2018 18:45:20 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:59850) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0wpx-00041s-I8 for guile-user@gnu.org; Fri, 14 Sep 2018 18:45:17 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3814321066 for ; Sat, 15 Sep 2018 00:45:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1536965114; bh=FxK0Tf+XQ4JZrql1dQNk/sYf7TtgxfwwGHQm9BUKsKg=; h=From:To:Cc:Subject:Date:From; b=oHCE7MLm6ApbJmO9wUwF/kvt3IrTAdbqxXkBzGWAwoJ2CkhpW4gEE9JYlrIjNmjNt dKMEBrRZfPKdYxR70i0tPM9Ycu+UXhyvyQgAr51Nc51FlXoLGTcuYuPQObQUUiIaZn ybDBsY1zJEDKPk3VXOsNY/afjBxCRDmwwZQrIkTLGf10NbxVOvNMiYxLDtJvCEZLaV L5fbgM2EKxy8R6YQ6op3yln+tFAbgkjhGMp4qPgffMeC/Ma0XLNhtbO8HJpHjzs1iK ga12W24Wqb3PSiR6niNA6PnCLeUKcuyEWwQP6epXpvR5JlVRJnqi+J0ONSu+WchOOG Up6V8GsdZ+vkw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42BrFP1s10z6tm5; Sat, 15 Sep 2018 00:45:13 +0200 (CEST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14875 Archived-At: 1) Huh, I didn't think this would work because the record type is already nil, but apparently it does. Good to know 2) `null` is bad because the predicate would be `null?`, which collides even worse with Scheme. Any other suggestions? `nothing`? `nul` with one ell? I think it would be too easy for people to miss that one letter and be confused why things don't work as they should. The MessagePack spec calls the type `nil`: https://github.com/msgpack/msgpack/blob/master/spec.md#nil-format John Cowan wrote: > 1) Some Schemes don't support rename on export. Just give the procedure > the name you want it to have. > > 2) Please don't use nil as a name. Many Schemers pronounce (), the > external representation of the empty list, as "nil". Use null or something > else.