[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1777: Drop builtin-features from eval.scm
From: |
Chicken Trac |
Subject: |
#1777: Drop builtin-features from eval.scm |
Date: |
Thu, 19 Aug 2021 12:18:46 -0000 |
#1777: Drop builtin-features from eval.scm
--------------------------------+----------------------------
Reporter: sjamaan | Type: defect
Status: new | Priority: major
Milestone: 5.4 | Component: core libraries
Version: 5.2.0 | Keywords:
Estimated difficulty: easy |
--------------------------------+----------------------------
This seems like it's a hack from ye olden days when we didn't have a
module system yet, and for example `(require srfi-30)` would otherwise try
to attempt loading a unit library named srfi-30.
This is confusing and a bit weird, and also there's `##sys#features` which
might run out of sync with this features list.
To make this change, the srfi module registrations should be changed to be
as part of the `library` unit. For example by changing `register-
primitive-module` to use `#f` or `'library` as the module library name.
NOTE: Check what the situation with `chicken.csi` and `chicken.foreign` is
- can they also use `#f` or `'library`?
--
Ticket URL: <https://bugs.call-cc.org/ticket/1777>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1777: Drop builtin-features from eval.scm,
Chicken Trac <=