unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] doc: fix web (run-server) examples
@ 2022-02-02 23:25 Aleix Conchillo Flaqué
  2022-02-03  7:23 ` Dr. Arne Babenhauserheide
  2022-07-22  0:42 ` Aleix Conchillo Flaqué
  0 siblings, 2 replies; 3+ messages in thread
From: Aleix Conchillo Flaqué @ 2022-02-02 23:25 UTC (permalink / raw)
  To: guile-devel; +Cc: Aleix Conchillo Flaqué

* doc/ref/web.texi (Web Server): need quasiquote to in order to evaluate
AF_INET6.
---
 doc/ref/web.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index 93cd0214f..49a09d0ca 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020 Free Software Foundation, Inc.
+@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020, 2022 Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
 @node Web
@@ -1822,7 +1822,7 @@ implementation's open function.
 ;; On a different port
 (run-server handler 'http '(#:port 8081))
 ;; IPv6
-(run-server handler 'http '(#:family AF_INET6 #:port 8081))
+(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))
 ;; Custom socket
 (run-server handler 'http `(#:socket ,(sudo-make-me-a-socket)))
 @end example
-- 
2.35.1




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

* Re: [PATCH] doc: fix web (run-server) examples
  2022-02-02 23:25 [PATCH] doc: fix web (run-server) examples Aleix Conchillo Flaqué
@ 2022-02-03  7:23 ` Dr. Arne Babenhauserheide
  2022-07-22  0:42 ` Aleix Conchillo Flaqué
  1 sibling, 0 replies; 3+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-02-03  7:23 UTC (permalink / raw)
  To: Aleix Conchillo Flaqué; +Cc: guile-devel

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]


Aleix Conchillo Flaqué <aconchillo@gmail.com> writes:

> * doc/ref/web.texi (Web Server): need quasiquote to in order to evaluate
> AF_INET6.
> ---
> -(run-server handler 'http '(#:family AF_INET6 #:port 8081))
> +(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))

Looks good! Thank you! (this would have saved me tons of time, so I hope
it will save others time, too)

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

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

* Re: [PATCH] doc: fix web (run-server) examples
  2022-02-02 23:25 [PATCH] doc: fix web (run-server) examples Aleix Conchillo Flaqué
  2022-02-03  7:23 ` Dr. Arne Babenhauserheide
@ 2022-07-22  0:42 ` Aleix Conchillo Flaqué
  1 sibling, 0 replies; 3+ messages in thread
From: Aleix Conchillo Flaqué @ 2022-07-22  0:42 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

ping. this is an easy one :-).

On Wed, Feb 2, 2022 at 3:25 PM Aleix Conchillo Flaqué <aconchillo@gmail.com>
wrote:

> * doc/ref/web.texi (Web Server): need quasiquote to in order to evaluate
> AF_INET6.
> ---
>  doc/ref/web.texi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/ref/web.texi b/doc/ref/web.texi
> index 93cd0214f..49a09d0ca 100644
> --- a/doc/ref/web.texi
> +++ b/doc/ref/web.texi
> @@ -1,6 +1,6 @@
>  @c -*-texinfo-*-
>  @c This is part of the GNU Guile Reference Manual.
> -@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020 Free
> Software Foundation, Inc.
> +@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020, 2022
> Free Software Foundation, Inc.
>  @c See the file guile.texi for copying conditions.
>
>  @node Web
> @@ -1822,7 +1822,7 @@ implementation's open function.
>  ;; On a different port
>  (run-server handler 'http '(#:port 8081))
>  ;; IPv6
> -(run-server handler 'http '(#:family AF_INET6 #:port 8081))
> +(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))
>  ;; Custom socket
>  (run-server handler 'http `(#:socket ,(sudo-make-me-a-socket)))
>  @end example
> --
> 2.35.1
>
>

[-- Attachment #2: Type: text/html, Size: 1671 bytes --]

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

end of thread, other threads:[~2022-07-22  0:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 23:25 [PATCH] doc: fix web (run-server) examples Aleix Conchillo Flaqué
2022-02-03  7:23 ` Dr. Arne Babenhauserheide
2022-07-22  0:42 ` Aleix Conchillo Flaqué

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