unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH]doco Manual Conventions
@ 2003-11-17 21:48 Stephen Compall
  2003-11-18 22:32 ` Marius Vollmer
  2003-11-18 22:51 ` Kevin Ryde
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Compall @ 2003-11-17 21:48 UTC (permalink / raw)


Continuing through the preface, I made some changes to node Manual
Conventions.  Please let me know if this ChangeLog is too detailed,
and I will be more vague in the future.

The patch is
http://csserver.evansville.edu/~sc87/guile/Manual-Conventions-1sirian.patch

ChangeLog and makeinfo output follow.

2003-11-17  Stephen Compall  <s11@member.fsf.org>

        * preface.texi (Manual Conventions): Double-quote some statements
        formerly single-quoted.

        Remove some redundant quotes around code.

        Clarify meaning of `iff' further for those that didn't get it the
        first time 'round (like me).

        Make graphical indicators samples, not code.

        Put results of evaluation on the same line as @result symbols.

        Remove newlines between @itemize and first @item, and last @item
        and @end itemize.

        Use @print example as example of total usage, and remind readers
        not to forget the difference.

Here is the Info output; again, you cannot see all the changes in this
mode.

Conventions used in this Manual
*******************************

   We use some conventions in this manual.

   * For some procedures, notably type predicates, we use "iff" to mean
     "if and only if".  The construct is usually something like: "Return
     VAL iff CONDITION", where VAL is usually `#t' or non-`#f'.  This
     typically means that VAL is returned if CONDITION holds, and that
     `#f' is returned otherwise.  To clarify: VAL will *only* be
     returned when CONDITION is true.

   * In examples and procedure descriptions and all other places where
     the evaluation of Scheme expression is shown, we use some notation
     for denoting the output and evaluation results of expressions.

     The symbol `=>' is used to tell which value is returned by an
     evaluation:

          (+ 1 2)
          => 3

     Some procedures produce some output besides returning a value.
     This is denoted by the symbol `-|'.

          (begin (display 1) (newline) 'hooray)
          -| 1
          => hooray

     As you can see, this code prints `1' (denoted by `-|'), and
     returns `hooray' (denoted by `=>').  Do not confuse the two.

--
Stephen Compall or s11 or sirian

Deprive a mirror of its silver and even the Czar won't see his face.

spies 9705 Samford Road eavesdropping electronic surveillance Honduras
White House RSA cracking Defcon SCUD missile Verisign quarter
arrangements government airframe


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-19 15:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-17 21:48 [PATCH]doco Manual Conventions Stephen Compall
2003-11-18 22:32 ` Marius Vollmer
2003-11-18 22:51 ` Kevin Ryde
2003-11-18 23:01   ` Stephen Compall
2003-11-19 15:34   ` Clinton Ebadi

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).