[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'GNU Guix' book (Was: Re: Book idea and Guix items in the FSF(E) shops)

From: swedebugia
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

On 2018-12-06 11:52, Pjotr Prins wrote:
> On Thu, Dec 06, 2018 at 01:14:49AM -0800, address@hidden 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")
m-x o
enter code in the scheme file
m-x o
run $guile in the dir of the file
(load "file.scm")

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]