Re: Srfi-159/166 - monadic formatting for guile

2019-06-15 Thread Mark H Weaver
Hi Linus, Linus Björnstam writes: > I am not sure I understand what you mean, but i suspect it is already > solved, since for simple cases show will use display/write. So unless > you try to do advanced formatting of circular lists it will do > whatever display or write does. The same thing goes

Re: Self-evaluating function and closure

2019-06-15 Thread Mark H Weaver
Hi John, John Cowan writes: > On Sat, Jun 15, 2019 at 4:31 AM Vladimir Zhbanov wrote: > > The result is unexpected for me, I expected a new self-evaluating >> procedure every time I run the function-generator procedure (and >> it works differently with Guile 2.0, IIUC, cannot check just now). >

Re: Self-evaluating function and closure

2019-06-15 Thread Mark H Weaver
Hi Vladimir, Vladimir Zhbanov writes: > Greetings, > > I have tried almost a textbook example with Guile 2.2.4: > > scheme@(guile-user)> (define (function-generator) >(let ((func #f)) > (lambda () (set! func (let a () a))

Re: Self-evaluating function and closure

2019-06-15 Thread John Cowan
On Sat, Jun 15, 2019 at 4:31 AM Vladimir Zhbanov wrote: The result is unexpected for me, I expected a new self-evaluating > procedure every time I run the function-generator procedure (and > it works differently with Guile 2.0, IIUC, cannot check just now). > I tested this on Chicken, Biwa, and

Strasbourg Guile Days schedule on-line, June 21–22

2019-06-15 Thread Ludovic Courtès
We’re just one week to the Guile & Guix Days in Strasbourg, France. Here’s the program: Friday, June 21st • 10:30–12:00 Getting Started with GNU Guix (Julien Lepiller) • 14:00–15:00 GNU Guix Install Party • 15:00–16:00 A Gentle Introduction to Guile Programming (Ludovic Cou

Help with debugging an error

2019-06-15 Thread Xabush Semrie
Hi all, I have been facing the following error in my code and it is cryptic to me. I have been scratching my head to understand the error message for weeks but I can’t seem to understand it. Can someone please take a look at show some pointers? The error message: Failed to execute '*(parse (appe

Self-evaluating function and closure

2019-06-15 Thread Vladimir Zhbanov
Greetings, I have tried almost a textbook example with Guile 2.2.4: scheme@(guile-user)> (define (function-generator) (let ((func #f)) (lambda () (set! func (let a () a)) func))) scheme@(guile-user)> (define x (function-g