【发布时间】:2013-11-11 10:56:04
【问题描述】:
大家好,
对于课程,我必须导入一些库。
我遇到了一个错误,在检查了库之后,问题基本上归结为
r6rs 出现此错误:define-record-type: unbound identifier in module in:define-record-type
在这个图书馆:
#lang r6rs
(library
(scenario-line)
(export new say-what says-who say-it)
(import ;...
)
(define-record-type scenario-line
(new figure text)
scenario-line?
(figure says-who)
(text say-what))
(define (say-it scenario-line)
(diagonal-paste (diagonal-paste (says-who scenario-line)
(new-cloud 15 15))
(new-text-cloud (say-what scenario-line)))))
【问题讨论】: