hashset unavailable method err msg: don't say unimplemented
This commit is contained in:
parent
606a946212
commit
aef101fd84
|
@ -459,13 +459,13 @@
|
||||||
(define custom-set-constant
|
(define custom-set-constant
|
||||||
(equal-hash-code "hash code for a set based on a hash table"))
|
(equal-hash-code "hash code for a set based on a hash table"))
|
||||||
|
|
||||||
(define (((mk-not-impl struct-descrip) method-name) s . args)
|
(define (((mk-not-impl meth-descrip struct-descrip) method-name) s . args)
|
||||||
(raise
|
(raise
|
||||||
(exn:fail:support
|
(exn:fail:support
|
||||||
(format "~a: method not implemented for ~a ~e" method-name struct-descrip s)
|
(format "~a: ~a operation not available for ~a: ~e" method-name meth-descrip struct-descrip s)
|
||||||
(current-continuation-marks))))
|
(current-continuation-marks))))
|
||||||
(define mk-not-impl/immut (mk-not-impl "immutable set"))
|
(define mk-not-impl/immut (mk-not-impl "mutation" "immutable set"))
|
||||||
(define mk-not-impl/mut (mk-not-impl "mutable set"))
|
(define mk-not-impl/mut (mk-not-impl "non-mutation" "mutable set"))
|
||||||
|
|
||||||
(serializable-struct immutable-custom-set custom-set []
|
(serializable-struct immutable-custom-set custom-set []
|
||||||
#:methods gen:stream
|
#:methods gen:stream
|
||||||
|
|
Loading…
Reference in New Issue
Block a user