LISP
scgillian
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LISP学习
用的DrRacket平台 #lang racket (* 5 6) (define (square x) (* x x)) (define (sum-of-squares x y) (+ (square x) (square y))) compound procedure cond (if ) (define (ab原创 2013-01-10 23:42:45 · 1433 阅读 · 2 评论 -
SICP ch2 building abstractions with Data学习笔记
compound structure: Pair use con to generate a pair (define x (cons 1 2)) Representing rational numbers (define (make-rat n d) (cons n d)) (define (numer x) (car x)) (define (denom x) (cd原创 2013-01-12 22:10:04 · 1270 阅读 · 0 评论
分享