【发布时间】:2012-07-18 14:03:35
【问题描述】:
您好,我正在关注the quick introduction to racket。在第 5 章中,他们提出了这段代码(运行良好):
(define (four p)
(define two-p (hc-append p p))
(vc-append two-p two-p))
通常会使用 let 来编写,所以我编写了我的代码:
#lang slideshow
(define (square n)
(filled-rectangle n n))
(define (four p)
(let ([two-p (hc-apppend p p)])
(vc-append two-p two-p)))
但它不起作用。 错误信息是:
expand: unbound identifier in module in: hc-apppend
【问题讨论】:
标签: racket