chickadee » generalized-arrays » make-storage-class

make-storage-class short-id constructor accessor mutator sizer predicate default-fillprocedure

Returns a storage class with the specified short-id, constructor, accessor, mutator, sizer, predicate, and default fill argument. An example might be as follows:

   (define vector-storage-class (make-storage-class 'v
                                                    make-vector
                                                    vector-ref
                                                    vector-set!
                                                    vector-length
                                                    vector?
                                                    (void)))