Opened 8 years ago
Closed 7 years ago
#1342 closed defect (fixed)
define-record-type doesn't define type name
Reported by: | Alex Shinn | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 5.0 |
Component: | core libraries | Version: | 4.11.0 |
Keywords: | Cc: | ||
Estimated difficulty: | easy |
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.
Change History (4)
comment:1 Changed 7 years ago by
Estimated difficulty: | → easy |
---|---|
Milestone: | someday → 5.0 |
comment:2 Changed 7 years ago by
comment:4 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by 54b0d5adcc855fcc299ad116b6d95f31f3f2de3d
Note: See
TracTickets for help on using
tickets.
I think we need to do this for 5.0 when also tackling the "global record namespace" problem.