guile-tut: Using Guile to program in Scheme

2001-09-16 Thread Alex Schroeder
The node "Using Guile to program in Scheme" in the tutorial has the "result" glyph ("=>") at the end of the result line instead of at the beginning: ;; ask for the length of `ls' guile> (length ls) 7=> ;; pick out the first element of the list guile> (car ls)

guile-tut.info: Jump Start

2001-09-16 Thread Alex Schroeder
The example uses 500: (recursive-factorial 500) The following paragraph, however, uses 1000: In this example we did some simple arithmetic `(+ 20 35)' and got the answer `55'. Then we coded the classic (and rather wasteful) factorial algorithm, and got a glimpse of Schem

guile.info: Procedures for On the Fly Evaluation

2001-09-16 Thread Alex Schroeder
In the node "Procedures for On the Fly Evaluation" of the Guile Reference manual, the primitive "read-and-eval!" is described. However, it doesn't seem to be available. Maybe it is defined in some module? If so, I looked at the paragraph describing the primitive, at the beginning of the node, a

guile.info: syntax index entries

2001-09-22 Thread Alex Schroeder
When searching the index for "syntax" I find only two occurences: procedure->syntax and use-syntax. I think the node "The R5RS `syntax-rules' System" also requires a "syntax" related index entry. Alex. -- http://www.geocities.com/kensanata/ Coffee should be black as hell, strong as death and sw

guile.info: Formatted Output

2001-09-23 Thread Alex Schroeder
The node "Formatted Output" has a typo -- "statr" instead of "start" in the following paragraph: `~&' Start a new line, that is, output a newline character if not already at the statr of a line. Alex. -- http://www.geocities.com/kensanata/ Coffee should be black as hell,

guile.info: Formatted Output

2001-09-23 Thread Alex Schroeder
There is a mixme in that node: `~f' Output the corresponding ARG as a fixed format floating point number, such as `1.34'. `~e' Output the corresponding ARG in exponential notation, such as `1.34E+0'. `~g' %% FIXME::martin: There must

guile.info: SRFI-13 - String Library

2001-09-24 Thread Alex Schroeder
Typo in note "SRFI-13 - String Library": * SRFI-13 Replicate/Rotate::Replacate and rotate portions of strings. should be * SRFI-13 Replicate/Rotate::Replicate and rotate portions of strings. Alex. -- http://www.geocities.com/kensanata/ Coffee should be black as hell, strong as death a

guile.info: Writing

2001-09-24 Thread Alex Schroeder
I just wanted some details on "display" but it was not in the R5RS Index. The node "Writing" has info on "newline". I think "display" should be added to that node as well and an appropriate index entry should be available. Alex. -- http://www.geocities.com/kensanata/ Coffee should be black as

guile.infoi: SRFI-13 - String Library

2001-09-24 Thread Alex Schroeder
The following paragraph is a bit difficult to read: All of the procedures defined in SRFI-13, which are not already included in the Guile core library, are implemented in the module `(srfi srfi-13)'. The procedures which are both in Guile and in SRFI-13, but which are slightly extended, have

guile.info: Reading

2001-09-24 Thread Alex Schroeder
The documentation for drain-input is confusing -- or I am easily confused being a Scheme newbie. :) - primitive: drain-input port Drain PORT's read buffers (including any pushed-back characters) and return the content as a single string. Here we see that the file "players" is not emp

Re: guile.info: Reading

2001-09-25 Thread Alex Schroeder
Gary Houston <[EMAIL PROTECTED]> writes: >> - primitive: drain-input port >> Drain PORT's read buffers (including any pushed-back characters) >> and return the content as a single string. > > You are not the first. Would the following description be any > clearer? > > This procedure c

Re: guile.info: Procedures for On the Fly Evaluation

2001-09-27 Thread Alex Schroeder
Thien-Thi Nguyen <[EMAIL PROTECTED]> writes: > i believe this bug is actually a misunderstanding. i could not > reproduce the above behavior. see below for a more straightforward way > to see if some proc is available. > > thi > > _ > guile> read-and-eval! > # > guil