Re: guile-couchdb

2020-03-11 Thread Jérémy Korwin-Zmijowski
Thank you for sharing ! Jérémy -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

Incomplete backtrace

2020-03-11 Thread Jan Synacek
Hello, consider the following piece of code: $ cat test.scm (use-modules (ice-9 regex)) (define (change text) (regexp-substitute #f (string-match "string" text) 'pre "something" 0 'post)) (define (main) (change "there will be no match")) (main) When I run the script, I get a b

Re: Incomplete backtrace

2020-03-11 Thread Jan Synacek
On Wed, Mar 11, 2020 at 7:07 PM Jan Synacek wrote: > Hello, > > consider the following piece of code: > > $ cat test.scm > (use-modules (ice-9 regex)) > > (define (change text) > (regexp-substitute #f (string-match "string" text) > 'pre > "something" 0 > 'post)) > > (define (main) >

emulate "sum type" pattern matching?

2020-03-11 Thread Sam Halliday
Hi all, I have read the Guile manual as my introduction to Guile. I am very impressed at how mature this project is and was overwhelmed by the feature set, which seems to be on-par with heavily invested technologies like Java and the JVM. I am considering using Guile for a project because I love

emacs lisp compatible names

2020-03-11 Thread Sam Halliday
Hi all, I read in the Guile manual's section on the Emacs lisp frontend that there is special falsey treatment for nil and empty lists, etc etc. But I was left wondering if all the other language constructs of emacs lisp are implemented, e.g. optional parameters, its lisp-2 nature. Also, now tha

Re: FFI arg_types for C array

2020-03-11 Thread Myles English
Hi Nala, On Tue, 10 Mar 2020, 18:50 Nala Ginrut, wrote: > If I understand your question correctly, the arg_type should be (list int > '*) > > On Tue, Mar 10, 2020 at 10:25 PM Myles English > wrote: > I am trying to call a C function with this signature from Guile: > >> >> void the_test(int n,

guile-gi: In procedure dynamic-link: file: "libguile-gi", message: "file not found"

2020-03-11 Thread sirgazil
Hi, I'm trying out guile-gi 0.2.2 on the Guix System by running the empty window example in https://spk121.github.io/guile-gi/Empty-Window.html#Empty-Window, but I get the following error: ★ $ guile empty-window.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;;