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

* Re: [PATCH]doco Manual Conventions
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Vollmer @ 2003-11-18 22:32 UTC (permalink / raw)
  Cc: guile-devel

Stephen Compall <s11@member.fsf.org> writes:

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

It is not too detailed, but we don't need that much detail for manual
changes, either.  That is, feel free to use shorter entries.

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

It would make it easier if you would attach the patch directly to the
mail (instead of the resulting makeinfo output, say).  That way, I
(for example) could directly apply the patch from within Emacs and
review the changes interactively.  The info output is not that
important since one can't see what the changes are.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
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

* Re: [PATCH]doco Manual Conventions
  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
  1 sibling, 2 replies; 5+ messages in thread
From: Kevin Ryde @ 2003-11-18 22:51 UTC (permalink / raw)
  Cc: guile-devel

Stephen Compall <s11@member.fsf.org> writes:
>
>    * For some procedures, notably type predicates, we use "iff" to mean
>      "if and only if".

I'd be tempted to reword everywhere iff occurs, it's a rather obscure
abbreviation if you're not coming from a maths background.


_______________________________________________
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

* Re: [PATCH]doco Manual Conventions
  2003-11-18 22:51 ` Kevin Ryde
@ 2003-11-18 23:01   ` Stephen Compall
  2003-11-19 15:34   ` Clinton Ebadi
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Compall @ 2003-11-18 23:01 UTC (permalink / raw)
  Cc: guile-devel

Kevin Ryde <user42@zip.com.au> writes:

> I'd be tempted to reword everywhere iff occurs, it's a rather obscure
> abbreviation if you're not coming from a maths background.

Which I originally did, in one file.  Er, here.
http://mail.gnu.org/archive/html/bug-guile/2002-10/msg00055.html

So I don't know how that would work out.

--
Stephen Compall or s11 or sirian

I saw a subliminal advertising executive, but only for a second.
		-- Steven Wright

covert video Freeh domestic disruption 9705 Samford Road assassination
bemd rail gun AMEMB North Korea Leuken-Baden Arnett Ft. Meade
Aldergrove bluebird pink noise


_______________________________________________
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

* Re: [PATCH]doco Manual Conventions
  2003-11-18 22:51 ` Kevin Ryde
  2003-11-18 23:01   ` Stephen Compall
@ 2003-11-19 15:34   ` Clinton Ebadi
  1 sibling, 0 replies; 5+ messages in thread
From: Clinton Ebadi @ 2003-11-19 15:34 UTC (permalink / raw)
  Cc: guile-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 18 November 2003 17:51, Kevin Ryde wrote:
> Stephen Compall <s11@member.fsf.org> writes:
> >    * For some procedures, notably type predicates, we use "iff" to mean
> >      "if and only if".
>
> I'd be tempted to reword everywhere iff occurs, it's a rather obscure
> abbreviation if you're not coming from a maths background.

I think that continuing to use iff is a good idea; its usage is explained in 
the manual so it is no more obscure than `=>' or '-|' are.

- -- 
http://unknownlamer.org
AIM:unknownlamer IRC:unknown_lamer@freenode#hprog
I use Free Software because I value freedom over features.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/u42BdgGh8PQDV0sRAsBXAKDS+NQ5PB5g2wNV/MBNd+jm62HwuACdGsdn
ifqctlLrMCkAicwLTlENEzY=
=KoET
-----END PGP SIGNATURE-----


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