Hello Guile Users,
I am trying to write a macro, which replaces all placeholders (in this case )
with an identifier in an arbitrarily structured expression (arbitrary nesting of
expressions). I have the following code now:
(define-syntax replace-result-placeholder
(syntax-rules ( repla
These macros all sound more complicated than necessary -- on the first
one, I've sent you a message with sneek:
;; By: Maxime Devos
;; This does not recurse into #(...).
;; Also, such a construct does not nest well, you can't put a
replace-result-placeholder inside a replace-result-placeholder
On 28-07-2022 01:57, Zelphir Kaltstahl wrote:
scheme@(guile-user)> (define-syntax test
(syntax-rules (lambda)
[(_ (op args body* ...))
((test op) (test args) (test body* ...))]
[(_ thing1 thing2 things* ...)
((test thing1) (test thing2 things* ...))]
[(_ (thing))
(
Hello Andy,
> > For example, on GNU Guix, the GI version is for now at 0.64. So
> > G-Golf, when invoked from a guile program using it, would fail
> > with
> > ;;; In procedure dlsym: Error resolving
> > "g_callable_info_create_closure":
> > "/gnu/store/g6gxhcy7lcmnx14jrinmh6vhanx8rh79-profil