From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Guix libification. Date: Sat, 10 Jun 2017 19:04:59 +0300 Message-ID: <8737b796c4.fsf@gmail.com> References: <87a85gnoiy.fsf@gmail.com> <871sqrkion.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJisu-0004Gb-Jh for guix-devel@gnu.org; Sat, 10 Jun 2017 12:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJisr-0006ch-Fp for guix-devel@gnu.org; Sat, 10 Jun 2017 12:05:08 -0400 In-Reply-To: <871sqrkion.fsf@gnu.org> (Mike Gerwitz's message of "Sat, 10 Jun 2017 10:42:48 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mike Gerwitz Cc: guix-devel Mike Gerwitz (2017-06-10 10:42 -0400) wrote: > On Sat, Jun 10, 2017 at 12:08:21 +0200, Mathieu Othacehe wrote: >> The script is becoming bigger and some parts of Guix would be really >> handy : (guix records), (guix workers), (guix utils) ... >> >> I don't want Guix to become a dependency of my script but copying parts >> of Guix in not great either. So I'm wondering if some parts of Guix, >> useful to other guile projects could be integrated to a lib, guile-lib >> for instance ? > > 1+ > > I use (guix records) for a few projects. I also needed similar functionality, but since I didn't want to depend on guix modules, I just copied another solution made by David Thompson: https://git.dthompson.us/sly.git/blob/HEAD:/sly/records.scm It is a very simple module, but it provides all I need from "records", so I'm happily use it in my code. Thanks, David! -- Alex