Implement till 2.78
This commit is contained in:
5
util.scm
5
util.scm
@@ -43,5 +43,8 @@
|
||||
(define (put op type proc)
|
||||
(hash-table/put! *op-table* (list op type) proc))
|
||||
(define (get op type)
|
||||
(hash-table/get *op-table* (list op type) #f))
|
||||
(let ((e (hash-table/get *op-table* (list op type) #f)))
|
||||
(if (eq? e #f)
|
||||
(error "Unknown op type -- GET" (list op type))
|
||||
e)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user