Hey Matt,
Yeah that was exactly my workaround I was wondering whether i could use the
syntax transformer more "directly" from C, or something like that.
Thanks,
paul
> On 11 Sep 2021, at 23:31, Matt Wette wrote:
>
> maybe add
>
> (define (make-foo-x a b) (make-foo a b))
>
> then call
maybe add
(define (make-foo-x a b) (make-foo a b))
then call make-foo-x (or reverse names)
On 9/10/21 7:27 PM, paul wrote:
Good day guile-users,
I am having a struggle with SRFI-9 records. They look very
convenient, so i'd like to use them in my Guile scripts. However, i'm
not sure how
On Sat, 11 Sep 2021, paul wrote:
> In Guile land, that works great. Now, i want to create a foo in C
> and pass it to a function in the Guile script. I do something
> like the following:
>
> ```
> scm_c_primitive_load("foo.scm");
> scm_call_5(scm_variable_ref(scm_c_lookup("make-foo")),
>
Good day guile-users,
I am having a struggle with SRFI-9 records. They look very
convenient, so i'd like to use them in my Guile scripts. However,
i'm not sure how to correctly construct them from C-land. I have
something like the following:
```
(define-record-type
(make-foo a b)
foo?