vectors
This commit is contained in:
parent
52afd529eb
commit
89ba2d6aef
@ -61,7 +61,7 @@
|
|||||||
(has-key? 'ParkingSpacesAvailable lot))
|
(has-key? 'ParkingSpacesAvailable lot))
|
||||||
|
|
||||||
(define (only-has-handicap-spots? lot)
|
(define (only-has-handicap-spots? lot)
|
||||||
(equal? '(4) (vector->list (value 'ParkingTypes lot))))
|
(equal? #(4) (value 'ParkingTypes lot)))
|
||||||
|
|
||||||
(define (electric-car-lot? lot)
|
(define (electric-car-lot? lot)
|
||||||
(member? 3 (value 'ParkingTypes lot)))
|
(member? 3 (value 'ParkingTypes lot)))
|
||||||
|
Loading…
Reference in New Issue
Block a user