Re: Self-evaluating function and closure

2019-06-17 Thread Vladimir Zhbanov
Hi Mark, John, My fault, sorry. In a fresh session there is no toplevel definition of the function defined by 'let'. Looking through Geiser history I found "(define a $9)". Probably this was the culprit. My apologies and thank you for your help! -- Vladimir (λ)επτόν EDA — https://github.com/l

Re: Self-evaluating function and closure

2019-06-17 Thread Vladimir Zhbanov
On Sun, Jun 16, 2019 at 07:29:59AM -0400, Mark H Weaver wrote: > Hello again, > > Vladimir Zhbanov writes: > > > scheme@(guile-user)> (define (function-generator) > >(let ((func #f)) > > (lambda () (set! func (let a () a))

Re: [ANN] guile-gi 0.0.2 released

2019-06-17 Thread Ricardo Wurmus
Hi Mike, > Hello. I am announcing guile-gi v0.0.2. Yay! Thank you. I updated the package in Guix and noticed that the test for atomic_int_set is marked as XFAIL, but it now passes. In Guix we now override the list of XFAIL_TESTS to let the tests pass. -- Ricardo

Re: Self-evaluating function and closure

2019-06-17 Thread Mark H Weaver
Hi Vladimir, Vladimir Zhbanov writes: > Great, I've adapted your example to our code and it works > nice. Thank you very much! You're welcome, and I'm glad to hear it :) Best, Mark

Re: [ANN] guile-gi 0.0.2 released

2019-06-17 Thread Zelphir Kaltstahl
I don't really understand what guile-gi does or how it does that, but I think being able to reliably build applications with GUI using GTK would be great with Guile. I like GTK3 and did something with Python some time ago, but that's not as cool as doing things with Guile! If guile-di helps with th