On Sun Sep 20, 2026 at 6:25 AM CEST, Diego A. Mundo via Chicken-users wrote:
> lazy-ffi can be added to the CHICKEN 6 egg repository if this syntax-error is 
> changed to error. I tested the libc and libm examples in the egg 
> documentation and they seemed to work as expected.
>
> Index: lazy-ffi.scm
> ===================================================================
> --- lazy-ffi.scm        (revision 46448)
> +++ lazy-ffi.scm        (working copy) CHICKEN 6
> @@ -452,7 +452,7 @@
>           (cond [(or (not x) (string? x)) `(lazy-ffi:module ,x)]
>                 [(symbol? x) `(lazy-ffi:function ',x ',(lazy-ffi:generate-uid 
> x))]
>                 [(list? x) `(list ,@(map process x))]
> -               [else (syntax-error "invalid use of `#~'" x)] ) )
> +               [else (error "invalid use of `#~'" x)] ) )
>         (process x) ) ) )
>
>  (set-sharp-read-syntax! #\~ lazy-ffi:read)
>

Excellent - thanks.


cheers,
felix


Reply via email to