cl-pack 0.1.1 share 1 day ago by Haplo Originally published at Mindstab.net. You can comment here or there. I've released cl-pack 0.1.1. Just a few code improvements suggested by Zach. This is just light stuff, some slight tweeks to be more in line with lisp standards and a few small speed up using native functions I didn't know about in ... Haplo - skankboy.livejournal.com · 3 references |
cl-pack 0.1.1 share 1 day ago by Dan Ballard I've released cl-pack 0.1.1. Just a few code improvements suggested by Zach. This is just light stuff, some slight tweeks to be more in line with lisp standards and a few small speed up using native functions I didn't know about instead of my own code. He'd suggested some more radical changes too, t ... Mindstab.net - mindstab.net/wordpress · 1 reference |
Exercise 1.34 of SICP share 1 day ago by dan Exercise 1.34: Suppose we define the procedure (define (f g ) (g 2 ) ) Then we have (f square ) 4 (f ( lambda (z ) (* z (+ z 1 ) ) ) ) 6 What happens if we (perversely) ask the interpreter to evaluate the combination (f f)? Explain. (f f) *** ERROR -- Operator is not a PROCEDURE The reasons this hap ... Dan's Thoughts - danboykis.com |
Revenge Of The Fallen share 1 day ago by The Complex Days >> You are accustomed to being permanently in the body, and cannot understand being out of it for a while. Can any number of changes or successive intervals of fast and slow fully represent the true scheme of things? The Complex Days - complexdays.net |
SICP Exercise 2.90 share 2 days ago by Weiqun SICP Exercise 2.90 ( define ( install-polynomial-package) ;; procedures ( define ( make-dense-poly variable term-list) ((get 'make-poly 'dense) variable term-list)) ( define ( make-sparse-poly variable term-list) ((get 'make-poly 'sparse) variable term-list)) ( define ( add-poly p1 p2) (apply-generi ... Weiqun Zhang's Blog - wqzhang.wordpress.com |
SICP Exercise 2.89 share 2 days ago by Weiqun SICP Exercise 2.89 Most procedures do not need any changes. These include add-poly, mul-poly, make-poly, variable, term-list, empty-termlist?, rest-terms, the-empty-termlist, coeff, order, make-term. Procedure adjoin-term is no longer needed. ( define ( add-terms L1 L2) ( cond ((empty-termlist? L1) ... Weiqun Zhang's Blog - wqzhang.wordpress.com |