yet another Guile tutorial for Linux (work in progress)

2019-08-05 Thread Basile Starynkevitch
I am writing yet another Guile tutorial. It is work in progress and available on http://starynkevitch.net/Basile/guile-tutorial-1.html under CC-BY-SA 3 license. Your comments are welcome. Thanks -- Basile Starynkevitch (92340 Bourg La Reine, France) http://starynkevitch.net/Basile/ Opinions

Re: srfi-9 vs make-record-type

2019-08-05 Thread Mark H Weaver
Hi Christopher, Christopher Lam writes: > Hi All > In experiments converting legacy code to use srfi-9 records, I'm finding > the latter doesn't travel well across modules. > > See simple code below -- m1.scm runs fine however m2.scm borks when > creating srfi-9 record object > > Any clue why sr

Re: syntax-case identifier name predicate in guard expression

2019-08-05 Thread Mark H Weaver
Hi Zelphir, Zelphir Kaltstahl writes: > Hi Guile Users! > > I made some progress in writing a procedure defining macro for creating > procedures which talk to an API. > > I now have working code, which checks the name of an identifier in a > guard expression: > > 8<8<8< > (use-mo

Re: syntax-case identifier name predicate in guard expression

2019-08-05 Thread Zelphir Kaltstahl
Hi Mark! Thank you for your help! I must have been blind from moving code back and forth and the (display ...) was still from when the output of the macro was simply a symbol, for checking whether the guard expression in the (syntax-case ...) cases works. Also I was confused because the error mes

Re: yet another Guile tutorial for Linux (work in progress)

2019-08-05 Thread Hans-Werner Roitzsch
Hi Basile, I like the many links to relevant resources. The literature advice is a bit too easily written there: "I greatly recommend reading Queinnec's Lisp in Small Pieces book (after SICP and this tutorial)." – Yes, I also recommend SICP to many people and whoever asks me about programming boo