4 Racket语言进阶
4.1 基本概念
4.2 函数式编程
4.2.1 高阶函数(High-ordered Function)
4.2.2 纯函数(Pure Function)
4.2.3 闭包
4.2.4 递归
4.2.5 柯里化(Currying)
(define rdoc (curry (lambda (libname name) (secref name #:doc libname)))) (define rdoc-ref (rdoc '(lib "scribblings/reference/reference.scrbl"))) (define rdoc-teachpack (rdoc '(lib "teachpack/teachpack.scrbl")))