Re: global vars and #:declarative? (was [critical bug] The set! doesn't work in indirect reference)

2024-09-19 Thread Linus Björnstam
On Thu, 19 Sep 2024, at 17:33, Taylan Kammer wrote: > On > If I'm not mistaken: Using a local variable is often more efficient > than using a global variable, so if you needed to micro-optimize code > for maximum efficiency, you would want to do this > There's one potential issue with using pa

Re: GNU G-Golf 0.8.0-rc6 available for testing

2024-09-19 Thread David Pirotte
Hello Greg, > This is an odd version scheme; I would suggest that you instead use > 0.8.0rc7 next time. Fwiw, i follow the semantic versioning scheme [1], although starting with 0.8.0-rc6 and 0.8.0-rc7, i decided to remove the dot in between rc and the number, because that's what debian does (and

Re: GNU G-Golf 0.8.0-rc6 available for testing

2024-09-19 Thread David Pirotte
Hello Florian, > G-Golf works great. Excellent! Note that you'll need to update your configuration and use/grab 0.8.0-rc7 - which fixes a 'missing some distributed files', necessary to be able to run the newly added examples/gtk-4/layout-manager.scm [ a g-golf port of the upstrea

[ANN] Spritely Goblins 0.14.0 released!

2024-09-19 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Goblins 0.14.0 has been released! Goblins is a distributed object programming environment that provides an intuitive security model, automatic local transactions for locally synchronous operations, and an easy to use and

Re: global vars and #:declarative? (was [critical bug] The set! doesn't work in indirect reference)

2024-09-19 Thread Taylan Kammer
On 19.09.2024 14:30, Nala Ginrut wrote: > Although I mostly put global var like global parameters in such a module, I > think there's always something that needs a globally setter. > The parameter works when you could get the state first in the runtime, > then you can bind it with pameterize. But f

Re: global vars and #:declarative? (was [critical bug] The set! doesn't work in indirect reference)

2024-09-19 Thread Nala Ginrut
hi Arne! Thanks for your reply! > > > > BTW. In my case, I want to implement the global var mutation. For such a > > case, if users don't want to put #:declarative? to affect the whole > > downstream modules, maybe the best way is to implement getter and setter > > inside the global var module. >

Re: GNU G-Golf 0.8.0-rc6 available for testing

2024-09-19 Thread pelzflorian (Florian Pelz)
Thank you David for this release! G-Golf works great. Now I can embed GTK programs within the Guix Home configurations of my family’s media center mini PC, without writing C (see attached file). All system setup is in Guile. Note that this is not pure Guix, but on top of my Guix channel git rep