The following procedure causes an infinite loop: I'm still learning about Guile so I'm a bit confused why that's the case. ...
The following procedure causes an infinite loop: I'm still learning about Guile so I'm a bit confused why that's the case. ...
I was trying to write a loop procedure in Guile. I came up with the following: But that of course didn't work. The compiler doesn't even start as i ...
I'm trying to learn a Lisp language and have settled on Guile and am trying to solve this problem: You are given an integer array coins representing ...
This works fine: (sxml-match '(div) ((div) #t)) But this fails: (sxml-match '(div) ((,element) #t)) I am wondering how to match any element? ...
I'm writing a program/game where I use Guile for scripting on top of a C program. For example I have a command struct type(which is also used for move ...
Watching this video (11:56) It shows a recursive procedure that multiplies the numbers contained in a list The idea is that if the list contains a z ...
I understand that the option (repl-default-option-set! 'print ...) is to be used and i've tried so in many variations, i grokked the idea behind custo ...
Is it possible to write a macro in Scheme that expands differently depending upon whether the macro was used at the top level or internally? I'm prima ...
I've been using Guile for about a year, but am fairly inexperienced in using macros in Scheme. Although I have got some more complicated examples to w ...
If you evaluate (list-tail '(1 2) 3) at guile scheme. You will get an exception. It would be smarter to have an '() as answer. Overall why do we haven ...
I am trying to create a function that takes another function as a parameter and calls the functions in a loop. The code below should get the function ...
I'm trying to create a simple nested macro. It works in my Scheme implementation, but fails to run in Guile and Racket. (define-syntax foo (syntax- ...
I'm working in Guile Scheme. I'm making macros but I'm finding that I'm repeating a lot of boilerplate in my output. I'm fairly new to Scheme so if th ...
I'm writing a Guix developer environment definition for a Python project I'm working on, it looks something like this: (use-modules (gnu packages) ...
I have this very simple C code calling a scheme script with guile: The scheme script: Compiling and running with: I'm able to suppress some o ...
I'm in the process of trying to update some old guile 1.8 code to guile 3.x. I'm struggling to find a good replacement for a particular construct. He ...
I'm trying to create code that evaluates expression and return error as string for error: (cond-expand (gambit) (gauche) (kawa) (guile (im ...
I am trying to link guile to an Rcpp file. It seems like things compile but there is an error when loading: The linking works fine if I remove the ...
Total newbie to Scheme here. I've been stuck on a scheme problem for sometime now. I don't understand how to code this right. I've looked every where ...
I'm learning Guile GOOPS. I have a problem with a slot accessor. The code below (use-modules (oop goops)) (define-class <person> () (name #: ...