unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile Reference Manual 2.0 bug
@ 2011-03-16 17:35 romel
  2011-03-31 14:18 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: romel @ 2011-03-16 17:35 UTC (permalink / raw)
  To: guile-user

Hello,

I think I found a bug in the Guile Reference Manual for 2.0 at section
"7.3.8.2 Inspecting the Request" in the following example code

     (define (not-found request)
       (values (build-response #:code 404)
               (string-append "Resource not found: "
                              (unparse-uri (request-uri request)))))

I'm unable to find where "unparse-uri" is defined, maybe this has been
deprecated before 2.0 release from (web uri) module. I think it was
replaced with "uri->string".

Regards,
Romel Sandoval






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

* Re: Guile Reference Manual 2.0 bug
  2011-03-16 17:35 Guile Reference Manual 2.0 bug romel
@ 2011-03-31 14:18 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2011-03-31 14:18 UTC (permalink / raw)
  To: romel; +Cc: guile-user

On Wed 16 Mar 2011 18:35, romel@lavabit.com writes:

> I'm unable to find where "unparse-uri" is defined, maybe this has been
> deprecated before 2.0 release from (web uri) module. I think it was
> replaced with "uri->string".

Indeed.  Fixed the manual in git, thanks.

Andy
-- 
http://wingolog.org/



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

end of thread, other threads:[~2011-03-31 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 17:35 Guile Reference Manual 2.0 bug romel
2011-03-31 14:18 ` Andy Wingo

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