From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Re: How to make GNU Guile more successful Date: Fri, 10 Mar 2017 11:03:48 +0100 Message-ID: References: <58C20A87.9010908@sapo.pt> <877f3xfo6f.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489140268 6326 195.159.176.226 (10 Mar 2017 10:04:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 10:04:28 +0000 (UTC) Cc: "guile-user@gnu.org" To: Arne Babenhauserheide Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Mar 10 11:04:21 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 1cmHPC-00009V-8W for guile-user@m.gmane.org; Fri, 10 Mar 2017 11:04:14 +0100 Original-Received: from localhost ([::1]:38279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmHPI-0008CD-6A for guile-user@m.gmane.org; Fri, 10 Mar 2017 05:04:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmHOr-0008Bt-Hy for guile-user@gnu.org; Fri, 10 Mar 2017 05:03:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmHOq-0004J4-0m for guile-user@gnu.org; Fri, 10 Mar 2017 05:03:53 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:34210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmHOp-0004Hp-QJ for guile-user@gnu.org; Fri, 10 Mar 2017 05:03:51 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id 196so2237542wmm.1 for ; Fri, 10 Mar 2017 02:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IaD/u8Yz8SWlIDD9hy7sV+Wl3NqIFkp8STiwUxnaqWQ=; b=WfF35SA3ZyxYDplHxko0oKzjFgPXI7WkL5ay7eBDjhCYjJojzfK+WxNkW+n60fCgm0 RRr17xQKpKPqH6abH3na7dWUyaONR1ONH3lbL/M1gNVzwhdt/E3YsE3NJOCC3jXlY9s1 kcCgtWufZQHc2ACbB07dC/Xsl3pxb/9Jilyq/jieD9ISMkK5A2mj7LlJGxxqSnVRMi3R BMTPXtDoO8Kio2QT9/Xnbt9I1pOsBUwmdIzkIdaKtL60wd5uGGcplIGWtrPcJOUXRvR9 GlFVQCwM+3wDmWM0L86eaYsfEHzr/By/lyPY7N3S4wdf3m8tRnwj/zTZ8TKVcFemtZOm 9Kbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IaD/u8Yz8SWlIDD9hy7sV+Wl3NqIFkp8STiwUxnaqWQ=; b=TqGhwvi0gc7HDn4rgoYDuWvgl3C7j7jST83EHmm9W9MiYpT+Sv6oCG1T11Ep/AEvys QcgzGJEa8DIMnrwc8xnFDSQvRMXL9gJoTEEbyYv6FFZrysnvYLkq/egGsa91qOuwX/ai pCUqJf6yT6lXYYq/Oh3O3XBLKKFe96/48gKy1Uc/Mm/tS7dCgZyap4l3Xd6esYcUrbeg k/pwLq0zRD414vjLNyGvvS/em8/u/lbI9uJ0nTVavTgnaumUh6Hw8itXHKdlJUpKP6+K IeETDpCg6J2p+Zb/Yo90i+w7NCRWugtsgzVBLwcI7JYbM9UCvG5YPJAHcrlD1AwoV0wg JSJA== X-Gm-Message-State: AFeK/H1Ga05jpBCuW/YnBUIhyXT2k9D+Dh6zc3nU0xw1wOw9pQmgWdulkTARidqEhuz9mHSdYytx8w6+L4MBCg== X-Received: by 10.28.1.209 with SMTP id 200mr1706645wmb.74.1489140229188; Fri, 10 Mar 2017 02:03:49 -0800 (PST) Original-Received: by 10.80.138.150 with HTTP; Fri, 10 Mar 2017 02:03:48 -0800 (PST) In-Reply-To: <877f3xfo6f.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:13473 Archived-At: 2017-03-10 10:55 GMT+01:00 Arne Babenhauserheide : > > V=C3=ADtor De Ara=C3=BAjo writes: > > > (Or maybe package _names_ could be URLs pointing to an index in a > > well-defined format, which tells how to download each version of a > > package; then we could have even dependency management without a > > central repository. I'm pipe-dreaming here, though.) > > You=E2=80=99re not just dreaming: > > https://github.com/plande/compan/blob/master/compan.scm > > ;; clone the repository and load (lib) module from the top level: > (load-modules ("https://bitbucket.org/panicz/dogma" (lib))) > > ;; as above, but load modules from "libraries" directory: > (load-modules (("https://github.com/panicz/pamphlet" "libraries") > (pamphlet))) > > ;; one can also fix on a particular tag/branch/commit: > (load-modules (("https://bitbucket.org/panicz/dogma" "." > "3884445191c2") (lib))) > > We=E2=80=99d just have to decide to use this. > > I think that the situation isn't quite as good as one could think. The code works fine from the interpreter, but if fails to work for compiled code, and I think that we'd need to come up with some solution of delaing module imports in compiled code until they're available. (Note also that the source code of Compan is extremely straightforward, as it boils down to a few calls of the "system" function which in turns calls some "hg" commands) So while I think that the author's idea was very nice, it clearly needs some elaboration :)