Ok, my plan is to factor dependencies into sub-libraries, e.g. (srfi 257 regex), (srfi 257 box), (srfi 257 maybe-either) etc.,
documenting them as optional, but recommended if support for their base libraries is present. These sub-libraries will depend on the
corresponding SRFIs, so basic (srfi 257) library can stay small. If you have ideas for more SRFI-specific patterns, please let me
know.
I had hopes that people will be writing such patterns themselves, but apparently most prefer canned solutions :)
-----Original Message-----
From: Antero Mejr
Sent: Sunday, January 26, 2025 2:33 PM
To: xxxxxx@srfi.schemers.org
Subject: ~just, ~left, etc.
Would it be possible to add ~just/~left patterns for the container types
from SRFI 189? I think that would be helpful for error handling. Also a
match pattern to deconstruct record types could be useful.
I think the dependency on SRFI 115 is OK. Match patterns for data
structures from other SRFIs would also be helpful to include. So long as
the SRFI that is depended on is implementable in R5RS/R7RS, like this
SRFI is.