suite-loader? Wolfgang Corcoran-Mathe (25 Jun 2026 12:27 UTC)
Re: suite-loader? Andrew Tropin (28 Jun 2026 05:45 UTC)
Re: suite-loader? Wolfgang Corcoran-Mathe (28 Jun 2026 15:12 UTC)
Re: suite-loader? Andrew Tropin (29 Jun 2026 01:24 UTC)
Re: suite-loader? Peter McGoron (28 Jun 2026 11:24 UTC)

suite-loader? Wolfgang Corcoran-Mathe 25 Jun 2026 12:27 UTC

The SRFI says:

> (suite-loader? obj) → boolean
>
> Returns #t if obj is a suite loader produced by 'suite-loader' or
> define-suite.  Implementations can mark suite loaders with a procedure
> property or somehow else; ordinary lambdas do not satisfy this
> predicate.

The latter part is non-portable, since neither R6 nor R7 define
procedure properties.  Do suite loaders really need to be disjoint from
other procedures?  I can't see a compelling reason.

If there *is* a good reason (and there may be--I just woke up), then
I'd prefer the usual solution: make suite loaders "objects of a
disjoint type" and provide a simple 'suite-loader-load' procedure.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>