unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Mike Gerwitz <mtg@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Guix libification.
Date: Sat, 10 Jun 2017 19:04:59 +0300	[thread overview]
Message-ID: <8737b796c4.fsf@gmail.com> (raw)
In-Reply-To: <871sqrkion.fsf@gnu.org> (Mike Gerwitz's message of "Sat, 10 Jun 2017 10:42:48 -0400")

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

  reply	other threads:[~2017-06-10 16:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-10 10:08 Guix libification Mathieu Othacehe
2017-06-10 14:42 ` Mike Gerwitz
2017-06-10 16:04   ` Alex Kost [this message]
2017-06-10 16:32     ` Adam Van Ymeren
2017-06-11  7:19       ` Alex Vong
2017-06-12 16:53       ` Alex Kost
2017-06-11 14:24 ` Ludovic Courtès
2017-06-11 17:56   ` Jan Nieuwenhuizen
2017-06-11 20:22     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737b796c4.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mtg@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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