Re: Support for SRFI 253

Artyom Bologov <[email protected]> Sun, 31 May 2026 03:47:08 +0400
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
Hi Arne,

> Sorry for the late reply. The path I took for define-typed (with
> exceptions thrown) offers the same performance improvements as
> handwritted guards following
> <https://dthompson.us/posts/optimizing-guile-scheme.html>.
>
> So if you didn=E2=80=99t do it already by now, you might be able to borro=
w code
> from the implementation of define-typed (you have my OK for that, also
> to use the license needed for a SRFI):
>
> https://www.draketo.de/software/guile-define-typed
>
> There=E2=80=99s also a simple benchmark included to check whether the
> performance holds up to optimizing with guards by hand.

I=E2=80=99ll check it out, thank you!

Best of love,
--=20
Artyom Bologov
https://aartaka.me