This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ================error================================================= | |
(define (error . l) | |
(display l) | |
) | |
;; ====================================================================== | |
(define (install-polynomial-package) | |
;; internal procedures | |
;; representation of poly | |
(define (tag p) (attach-tag 'polynomial p)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ================error================================================= | |
(define (error . l) | |
(display l) | |
) | |
;; ====================================================================== | |
(define (install-polynomial-package) | |
;; internal procedures | |
;; representation of poly | |
(define (tag p) (attach-tag 'polynomial p)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ================error================================================= | |
(define (error . l) | |
(display l) | |
) | |
;; ====================================================================== | |
(define (install-polynomial-package) | |
;; internal procedures | |
;; representation of poly | |
(define (tag p) (attach-tag 'polynomial p)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ================error================================================= | |
(define (error . l) (display l)) | |
;; ====================================================================== | |
(define (install-polynomial-package) | |
;; internal procedures | |
;; representation of poly | |
(define (tag p) (attach-tag 'polynomial p)) | |
(define (make-poly variable term-list) | |
(cons variable term-list)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ====================================================================== | |
(define (install-polynomial-package) | |
;; internal procedures | |
;; representation of poly | |
(define (tag p) (attach-tag 'polynomial p)) | |
(define (make-poly variable term-list) | |
(cons variable term-list)) | |
(define (variable p) (car p)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------put-get----------------------------------------- | |
(define global-array '()) | |
(define (make-entry k v) (list k v)) | |
(define (key entry) (car entry)) | |
(define (value entry) (cadr entry)) | |
(define (put op type item) | |
(define (put-helper k array) | |
(cond ((null? array) (list(make-entry k item))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------put-get----------------------------------------- | |
(define global-array '()) | |
(define (make-entry k v) (list k v)) | |
(define (key entry) (car entry)) | |
(define (value entry) (cadr entry)) | |
(define (put op type item) | |
(define (put-helper k array) | |
(cond ((null? array) (list(make-entry k item))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------put-get----------------------------------------- | |
(define global-array '()) | |
(define (make-entry k v) (list k v)) | |
(define (key entry) (car entry)) | |
(define (value entry) (cadr entry)) | |
(define (put op type item) | |
(define (put-helper k array) | |
(cond ((null? array) (list(make-entry k item))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------put-get----------------------------------------- | |
(define global-array '()) | |
(define (make-entry k v) (list k v)) | |
(define (key entry) (car entry)) | |
(define (value entry) (cadr entry)) | |
(define (put op type item) | |
(define (put-helper k array) | |
(cond ((null? array) (list(make-entry k item))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------put-get----------------------------------------- | |
(define global-array '()) | |
(define (make-entry k v) (list k v)) | |
(define (key entry) (car entry)) | |
(define (value entry) (cadr entry)) | |
(define (put op type item) | |
(define (put-helper k array) | |
(cond ((null? array) (list(make-entry k item))) |