Re: python-on-guile

2020-02-18 Thread david larsson
On 2020-02-13 08:41, Stefan Israelsson Tampe wrote: Hmm, seams guile has a problem finding guile-persists modules, as you would probably get the same error if you do (use-modules (persist persistence)) Try source the guile-persist and add it to the load path directory (you probably need to do th

Re: Happy birthday, Guile!

2020-02-18 Thread Christopher Lam
A bit late, and perhaps not as sophisticated as some bigger modules here. Two functions defined as follows: nested-alist-set! nested-alist-get at https://github.com/Gnucash/gnucash/blob/1f83cfaf64d1cd3c8862b427dd043154f780a772/gnucash/report/html-chart.scm#L37 Consider a nested alist describing u

Lenses in Guile?

2020-02-18 Thread Zelphir Kaltstahl
Hi! This reminds me of something: Is there something like https://docs.racket-lang.org/lens/index.html for Guile? Or perhaps an easy to understand tutorial on implementing it? Regards, Zelphir On 2/18/20 2:38 PM, Christopher Lam wrote: > A bit late, and perhaps not as sophisticated as some bigge

Re: Lenses in Guile?

2020-02-18 Thread Alex Sassmannshausen
Heya, Zelphir Kaltstahl writes: > Hi! > > This reminds me of something: Is there something like > https://docs.racket-lang.org/lens/index.html for Guile? Or perhaps an > easy to understand tutorial on implementing it? Check out https://gitlab.com/a-sassmannshausen/guile-lens It's an implementa

Re: Geiser vs. guile-mode?

2020-02-18 Thread sirgazil
I also find some fundamental things missing when programming in Guile Scheme (with Emacs+Geiser): 1. On-the-fly syntax checking (see flycheck) 2. Immediate availability of new symbols after importing a module. Without (1) I don't get alerted about modules imported but not used, symbols used but

Re: python-on-guile

2020-02-18 Thread david larsson
On 2020-02-18 20:05, Stefan Israelsson Tampe wrote: This looks like problems loading the stis-parser module, can you add that manually to the load list as well? test to see that you can do (use-modules (parser stis-parser lang python3-parser)) Regards Stefan That did it, thanks! It compiles