Summary
define-record-type doesn't define type name
Metadata
- Id: 29cb7ce0a05714a7fb650048aa4702cf2a212a7e
- Trac id: 1342
- Type: defect
- Reporter: ashinn
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty: easy
- Resolution: fixed
- Priority: major
- Milestone: 5.0
- Version: 4.11.0
- Changetime: 2017-08-13 16:17:44 UTC
- Created: 2017-01-29 16:29:48 UTC
- Keywords:
Description
I'm unable to compile (chibi iset) in Chicken because it uses the following definition:
(define-record-type Integer-Set (%make-iset start end bits left right) iset? (start iset-start iset-start-set!) (end iset-end iset-end-set!) (bits iset-bits iset-bits-set!) (left iset-left iset-left-set!) (right iset-right iset-right-set!))
and exports Integer-Set, but Integer-Set is not bound in Chicken. This is required to be defined in both SRFI 9 and R7RS (scheme base) - if for some reason this isn't desired in the core Chicken language, a wrapper should be provided for these two libraries. It can be bound to anything at all, even syntax. In SRFI 99 procedural introspection is provided on this binding.
Changes and comments
[2017-07-14 15:34:53 UTC] sjamaan set difficulty to easy
[2017-07-14 15:34:53 UTC] sjamaan changed milestone from someday to 5.0
[2017-07-14 15:35:18 UTC] sjamaan wrote:
I think we need to do this for 5.0 when also tackling the "global record namespace" problem.
[2017-07-14 16:01:18 UTC] sjamaan wrote:
Patch sent to chicken-hackers.
[2017-08-13 16:17:44 UTC] sjamaan changed status from new to closed
[2017-08-13 16:17:44 UTC] sjamaan set resolution to fixed
[2017-08-13 16:17:44 UTC] sjamaan wrote:
Fixed by 54b0d5adcc855fcc299ad116b6d95f31f3f2de3d