[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Export procedures from srfi-17
From: |
Peter Bex |
Subject: |
[PATCH] Export procedures from srfi-17 |
Date: |
Thu, 19 Aug 2021 13:58:48 +0200 |
Hi all,
Lassi Kortela posted a patch on IRC to fix the fact that our SRFI-17
module doesn't export the "setter" and "getter-with-setter" procedures.
If this is approved, please also apply it to the prerelease branch,
as it is both trivial and important enough to include.
PS: aren't all the register-primitive-module invocations for srfis wrong,
in that they register a module under a similarly named unit, but there
is no such unit library (in any of these cases)?
In other words, shouldn't register-primitive-module be defined like so:
;; same as register-core-module, but uses "library" as the library name
(define (##sys#register-primitive-module name vexports #!optional (sexports
'()))
(##sys#register-core-module name 'library vexports sexports))
Or, perhaps, it should be #f, since module-library can be false and
syntax-only libraries don't require a unit to be linked in.
Cheers,
Peter
0001-Also-export-setter-and-getter-with-setter-from-built.patch
Description: Text Data
signature.asc
Description: PGP signature
- [PATCH] Export procedures from srfi-17,
Peter Bex <=