From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amirouche Newsgroups: gmane.lisp.guile.user Subject: Re: How to make GNU Guile more successful Date: Tue, 21 Feb 2017 19:19:58 +0100 Message-ID: <4b1efcef-f174-1d0e-cb23-730770b6a3bd@hypermove.net> References: <2e4e293e-618e-809a-2eff-31576319ea61@gmx.de> <874lzod28a.fsf@web.de> <6deb1610-e31b-b5c2-e9c9-95a2289af216@gmx.de> <87efyrjw94.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1487701237 5704 195.159.176.226 (21 Feb 2017 18:20:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 18:20:37 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Feb 21 19:20:32 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgF39-0000wi-Kq for guile-user@m.gmane.org; Tue, 21 Feb 2017 19:20:31 +0100 Original-Received: from localhost ([::1]:47710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgF3D-0003CK-S5 for guile-user@m.gmane.org; Tue, 21 Feb 2017 13:20:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgF2f-0003BC-PL for guile-user@gnu.org; Tue, 21 Feb 2017 13:20:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgF2b-0004n6-1V for guile-user@gnu.org; Tue, 21 Feb 2017 13:20:01 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49174) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgF2a-0004mQ-Qn for guile-user@gnu.org; Tue, 21 Feb 2017 13:19:56 -0500 Original-Received: from [IPv6:2a01:e35:2ef3:d930:bdc4:d6ec:636:6090] (unknown [IPv6:2a01:e35:2ef3:d930:bdc4:d6ec:636:6090]) (Authenticated sender: amirouche@hypermove.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 225011720B4 for ; Tue, 21 Feb 2017 19:19:54 +0100 (CET) In-Reply-To: <87efyrjw94.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13307 Archived-At: Le 21/02/2017 à 18:18, Arne Babenhauserheide a écrit : > Michael Vehrs writes: > >> On 02/20/2017 09:41 PM, Arne Babenhauserheide wrote: >>> Michael Vehrs writes: >>>> As a late-comer to this discussion, here are my two ce >>> In practice it does not provide a web interface for uploading packages. >>> >>> If you want to do something truly exciting, you could take wingos fibers >>> and build a high performance web interface for guildhall with them. >> High performance is not really important in this case. We are not >> talking about gazillions of npm packages. > That’s true. That’s why I wrote exciting :) > > You could also use the existing (web server) tools to build such a site. We can make it exciting and use fibers web server nonetheless. The interface of the *fibers* web server is the same as guile web server interface. Here is it [0]: ``` (use-modules (fibers web server)) (define (handler request body) (values '((content-type . (text/plain))) "Hello, World!")) (run-server handler) ``` Basically you just need to change the use-modules line in your current project. [0]