[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-15-g5ec48b

From: Neil Jerram
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-15-g5ec48b7
Date: Fri, 18 Feb 2011 23:14:51 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  5ec48b704522c861c6e34ed1cbbfec5b89d55376 (commit)
      from  e888334c27c218cb187a6540d2182232361eb7c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ec48b704522c861c6e34ed1cbbfec5b89d55376
Author: Neil Jerram <address@hidden>
Date:   Fri Jan 21 19:34:01 2011 +0000

    Fix typos in (web ...) doc
    * doc/ref/web.texi (Types and the Web): "help" -> "helpful".
      (HTTP): Add closing paren.  Remove code that looks like a leftover.


Summary of changes:
 doc/ref/web.texi |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index c7018e9..a72a187 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -59,8 +59,8 @@ valid dates.  Error handling for a number of basic cases, 
like invalid
 dates, occurs on the boundary in which we produce a SRFI 19 date record
 from other types, like strings.
-With regards to the web, data types are help in the two broad phases of
-HTTP messages: parsing and generation.
+With regards to the web, data types are helpful in the two broad phases
+of HTTP messages: parsing and generation.
 Consider a server, which has to parse a request, and produce a response.
 Guile will parse the request into an HTTP request object
@@ -339,7 +339,7 @@ For example:
 (string->header "FOO")
 @result{} foo
-(header->string 'foo
+(header->string 'foo)
 @result{} "Foo"
 @end example
@@ -387,12 +387,6 @@ leaving it as a string.  You could register this header 
with Guile's
 HTTP stack like this:
-(define (parse-ip str)
-  (inet-aton str)
-(define (validate-ip ip)
-(define (write-ip ip port)
-  (display (inet-ntoa ip) port))
 (declare-header! "X-Client-Address"
   (lambda (str)
     (inet-aton str))

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]