Re: cond clause does not allow definitions

2024-05-24 Thread Linus Björnstam
I submitted a patch that expanded definition context to more places (cond, case, when, unless etc). I dont know what happened to that. I submitted it while moving and promptly forgot about it after some discussion. -- Linus Björnstam On Wed, 22 May 2024, at 21:26, Damien Mattei wrote: >

Re: write simpler a syntax form ?

2024-05-24 Thread Jean Abou Samra
> all attempt to simplify this part: #`(#,@#'args-brackets) > gives errors Try matching it with ($bracket-apply$ container args-brackets ...) instead of ($bracket-apply container . args-brackets) and replacing #`(#,@#'args-brackets) with #'(args-brackets ...) signature.asc Description: This

Re: using guile like a awk filter in a C program.

2024-05-24 Thread Pierre Lindenbaum
I want to call scheme from C. The C loop scans the binary data and a scheme script would be used to accept/reject a record. Something like     ./my-c-program --filter '(and (is-male?) (is-german?) )' persons.data > male_from_germany.data - furthermore, what's the best practice to