From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: 'GNU Guix' book (Was: Re: Book idea and Guix items in the FSF(E) shops) Date: Thu, 06 Dec 2018 04:25:49 -0800 Message-ID: References: <5f403ef2e3614006129e448c2ff4e251@riseup.net> <20181206105219.cxqcdlhywfzij2sb@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUsj6-0003hr-JC for guix-devel@gnu.org; Thu, 06 Dec 2018 07:26:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUsj2-0002Oj-5P for guix-devel@gnu.org; Thu, 06 Dec 2018 07:25:56 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60799) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUsj1-0002O4-MX for guix-devel@gnu.org; Thu, 06 Dec 2018 07:25:52 -0500 In-Reply-To: <20181206105219.cxqcdlhywfzij2sb@thebird.nl> 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: Pjotr Prins Cc: guix-devel On 2018-12-06 11:52, Pjotr Prins wrote: > On Thu, Dec 06, 2018 at 01:14:49AM -0800, swedebugia@riseup.net wrote: >> What about a book "Introduction to Guile Scheme" modeled after the emacs >> lisp one but with Guix in locus instead of emacs? >> >> Thinking further I'm guessing we could use some of the newly donated >> funds to give incentitive for write such a book ourselves. E.g. by >> defining resonable chapters and establish clearly defined bounties. >> >> I for one would like to contribute to such a book. We could work in >> wikibooks or in our own place somewhere but it should be easy to edit >> (easier than a git repo/patch by email). > > That is a very good idea. I think, however, the demand will be much > higher for a 'GNU Guix' book which teaches scheme implicitly. It will > also make GNU Guix a first rate item in the shop. Grow a Scheme on > Guix ;) Deal! :) > > I am happy to contribute a chapter on 'GNU Guix for science' and > perhaps a chapter on 'Writing software using Guix containers'. > > Both topics make my daily work a joy :). Can't do without it. Fantastic! I can write some of the basics. An introduction and a couple of examples of use to the higher-order functions like fold-packages would be nice I think. Also a chapter on befriending with the guix repl would be nice. I had some eh, troubles with it in the beginning (and sometimes now) because it is not clear to me when the earlier loaded procedures are cleared. ATM my workflow is like this: inside screen open emacs with the scheme file i'm working on m-x 3 m-x shell enter code in the scheme file m-x o run $guile in the dir of the file (load "file.scm") (test-some-proc) m-x o enter code in the scheme file m-x o run $guile in the dir of the file (load "file.scm") (test-some-proc) ... Sometimes I have to quit guile and reenter to get it to work right (if I change some names of procedures and forget to call the new ones. (this happened 2 times during devel of guile-wikidata) Also I found 2 bugs I think (I have yet to report them). 1 where paredit-mode would not move the last parens of a proc when commennting aout sub-parts of that proc. 1 where run-guile -> geiser-eval-buffer fails to eval the buffer (resulting in me resorting to the suboptimal IDE above). -- Cheers Swedebugia