unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 30145@debbugs.gnu.org
Subject: bug#30145: [PATCH] doc: Document undefined?.
Date: Sun, 21 Jan 2018 09:33:40 -0500	[thread overview]
Message-ID: <871sijnuwr.fsf@netris.org> (raw)
In-Reply-To: <20180117175204.1381-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Wed, 17 Jan 2018 23:22:04 +0530")

Arun Isaac <arunisaac@systemreboot.net> writes:
> * doc/ref/data-rep.texi: Document undefined?.

Is 'undefined?' a procedure in your Guile?  It's not available at my
Guile REPL,and I can't find a single occurrence of 'undefined?' in my
guile stable-2.2 git checkout.

There is a special SCM_UNDEFINED value at the C level, but it's only
used for a couple of internal purposes and not usable from Scheme at
all.

FYI, the two internal purposes are these: (1) if SCM_UNDEFINED is passed
as an optional argument to a Scheme procedure implemented in C, this
indicates that the optional argument was not actually present.  (2) if
SCM_UNDEFINED is stored in a top-level variable object, that indicates
that the variable is no longer bound, i.e. it was actually removed.

       Mark





      parent reply	other threads:[~2018-01-21 14:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17 17:52 bug#30145: [PATCH] doc: Document undefined? Arun Isaac
     [not found] ` <handler.30145.B.15162115551614.ack@debbugs.gnu.org>
2018-01-18  6:16   ` bug#30145: Acknowledgement ([PATCH] doc: Document undefined?.) Arun Isaac
2018-01-18  6:20 ` bug#30145: [PATCH] doc: Document unspecified? Arun Isaac
2018-01-21 14:48   ` Mark H Weaver
2018-01-21 18:22     ` Arun Isaac
2018-01-21 14:33 ` Mark H Weaver [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871sijnuwr.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=30145@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).