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)
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
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
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
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,
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
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
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
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
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
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
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
12 matches
Mail list logo