From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] doc: fix web (run-server) examples Date: Wed, 2 Feb 2022 15:25:17 -0800 Message-ID: <20220202232517.38256-1-aconchillo@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Feb 03 00:26:08 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFP0q-0007OB-F2 for guile-devel@m.gmane-mx.org; Thu, 03 Feb 2022 00:26:08 +0100 Original-Received: from localhost ([::1]:44294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFP0o-0000S0-BT for guile-devel@m.gmane-mx.org; Wed, 02 Feb 2022 18:26:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFP0N-0000Ro-K6 for guile-devel@gnu.org; Wed, 02 Feb 2022 18:25:39 -0500 Original-Received: from [2607:f8b0:4864:20::42f] (port=42857 helo=mail-pf1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFP0K-00057i-Mq for guile-devel@gnu.org; Wed, 02 Feb 2022 18:25:37 -0500 Original-Received: by mail-pf1-x42f.google.com with SMTP id i65so636022pfc.9 for ; Wed, 02 Feb 2022 15:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rXznM/AzoJKGf47OLAsuezgOcSbVzUcAWvjo94Vg7k8=; b=CPMkmvLySMuPA3anlWaONbpd+VTxAb9z8ydjaSrKj2a+bt1Ujy3DcIvM7aSuC0nmv8 N8fbavH03vwzPzbE/8c36Wi/gBtfIAX24pS04URELE+FAVPiVlXD5dtKEpvM3we+u25v Bqi/WPQEKiq95/EK1vNdV2HhdYCrTMbmVhUoAh71vdjw1JtcLWB+FC/+WfGors2eymZO CsAe10ERXWel5oaXHIQsi357TkFwzWhsN02ljwDoM1GJ7YfzmhwMXPZValVjKSWofnsA SaBh48ZvmwV7ouq5WdTtTLvNFqFjop1hn7N6Ga5FzdT144ttW9BMTXKJPWHiIFoFfnGg dfuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rXznM/AzoJKGf47OLAsuezgOcSbVzUcAWvjo94Vg7k8=; b=DFFLv2SzLtBuHZrsFo0eikcyCm17wiLtgK44LkLlZUE43f9yJb4qVeS7rqYI3GmXm4 5FkfcX0P36xMlCod4pyo4c4VYJFA7h2xFpW3ZEfldmzK/+YIjiocm9aKrj7O0Vq/XRRn 96Hc1PsUm745R1BZV2fnawe9CipHhvZub1teze2SkfKBc8T5QryjAyuvl4I6YplTVDHa 5P3B2TDzXi+bkCthEM2W21sqFkjGA9vNXPyX7ZUE6ZOpEqcmqY+r1cRnJIQWnVuikX1I 1mxSWiJ/zBnDdMNbMygwb2e5g8DdfDqeW5iKkuafhjnUIDW2C2yBHuK0BY/vGiYOf1nN IjJA== X-Gm-Message-State: AOAM533Qia0c1/bwR+BTzMpjO+MfsDG5LNjr94UXXt4QKLFuDOaJ2VEI wKr2Dm/6YWiX8pKEZwvjJNsEhVFozAU= X-Google-Smtp-Source: ABdhPJzEfiFERHyRVhLzUCZxYB6qvhD80sGUwFdVvF0VbCEqaY7f7kIuSR+SSebK0Px6Zo/iendMpA== X-Received: by 2002:a63:6c87:: with SMTP id h129mr26631691pgc.530.1643844334159; Wed, 02 Feb 2022 15:25:34 -0800 (PST) Original-Received: from localhost (cpe-198-72-134-0.socal.res.rr.com. [198.72.134.0]) by smtp.gmail.com with ESMTPSA id f12sm23785263pfv.30.2022.02.02.15.25.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Feb 2022 15:25:33 -0800 (PST) X-Mailer: git-send-email 2.35.1 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=aconchillo@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21060 Archived-At: * 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