unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: jamil egdemir <unclejamil@gmail.com>
To: guile-user <guile-user@gnu.org>
Subject: Re: docstrings in the reference manual
Date: Tue, 16 Dec 2014 05:54:28 -0500	[thread overview]
Message-ID: <CAOa+0os-KB_5GnYeHW9Q7Wq0P7G-Ac5mcTqcoGqd7yvnRLmxtg@mail.gmail.com> (raw)
In-Reply-To: <CAMFYt2a=7orR7k2oQC61beEdgLunJkYX-8z5PV4VZuEgxey0LA@mail.gmail.com>

Panicz,

On 12/16/14, Panicz Maciej Godek <godek.maciek@gmail.com> wrote:
> It is described here:
> https://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html
> (the "procedure-documentation" entry):
>
>      Return the documentation string associated with `proc'.  By
>      convention, if a procedure contains more than one expression and
>      the first expression is a string constant, that string is assumed
>      to contain documentation for that procedure.

Good eyes!

> I agree though that it can be difficult to find, and it would be a bit
> better if it used the word "docstring" (like "that string is assumed to
> contain documentation for that procedure (so-called 'docstring')"), to make
> it easier to find, and that there should be a "docstring" index entry as
> well.

I agree.  This info on docstrings is tucked away pretty well.  I
noticed here in the ref man:

https://www.gnu.org/software/guile/manual/html_node/Reporting-Bugs.html#Reporting-Bugs

that documentation that is unclear is considered a bug (last bullet in
the first list).  If you think it makes sense then I'll submit a bug
on the documentation with this info and your suggestion.

-j

-- 
-------------------------------------------------------------
Jamil Egdemir
unclejamil@gmail.com
http://www.power-quant.com
-------------------------------------------------------------



  reply	other threads:[~2014-12-16 10:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 22:48 docstrings in the reference manual jamil egdemir
2014-12-16  6:50 ` Panicz Maciej Godek
2014-12-16 10:54   ` jamil egdemir [this message]
2014-12-16 11:41     ` Panicz Maciej Godek
2014-12-16 11:42     ` John Darrington
2014-12-16 12:18       ` Panicz Maciej Godek
2014-12-16 20:16         ` jamil egdemir

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=CAOa+0os-KB_5GnYeHW9Q7Wq0P7G-Ac5mcTqcoGqd7yvnRLmxtg@mail.gmail.com \
    --to=unclejamil@gmail.com \
    --cc=guile-user@gnu.org \
    /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).