sex-modules spelled out its own copy of named-arg-type, and its own strip-pub; a parameter shape taught to one would not reach the other.
51 lines
779 B
Scheme
51 lines
779 B
Scheme
(module types
|
|
(add-struct
|
|
add-union
|
|
add-enum
|
|
add-typedef
|
|
add-define
|
|
|
|
type-match
|
|
type-pattern-matches?
|
|
map-fields
|
|
|
|
add-sum!
|
|
get-sum
|
|
add-constructor!
|
|
get-constructor
|
|
variant-fields
|
|
reset-declarations!
|
|
|
|
add-spec!
|
|
get-spec
|
|
spec-parameter
|
|
spec-methods
|
|
add-realization!
|
|
realizes?
|
|
normalize-fields
|
|
|
|
add-method!
|
|
get-method
|
|
qualify-op
|
|
ops-key
|
|
|
|
add-name-type!
|
|
get-name-type
|
|
type-of
|
|
current-type-of
|
|
get-return-type
|
|
|
|
get-type-info
|
|
get-tag-info
|
|
get-fields
|
|
get-underlying-type
|
|
|
|
type-head?
|
|
named-arg?
|
|
named-arg-type
|
|
arglist-types
|
|
strip-pub
|
|
array-bound?
|
|
array-element-type)
|
|
"types.scm")
|