On 2018-12-06 11:52, Pjotr Prins wrote:
> On Thu, Dec 06, 2018 at 01:14:49AM -0800, swedebu...@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 via email to