unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: swedebugia@riseup.net
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel <guix-devel@gnu.org>
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	[thread overview]
Message-ID: <a16e6a7c18afd805a42b76d80d12deff@riseup.net> (raw)
In-Reply-To: <20181206105219.cxqcdlhywfzij2sb@thebird.nl>

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

  reply	other threads:[~2018-12-06 12:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  9:14 Book idea and Guix items in the FSF(E) shops swedebugia
2018-12-06 10:52 ` Pjotr Prins
2018-12-06 12:25   ` swedebugia [this message]
2018-12-07 22:55 ` 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=a16e6a7c18afd805a42b76d80d12deff@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=guix-devel@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    /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).