Nadeem Abdul Hamid nad...@acm.org writes:
Consider a beginner file with:
(define-struct boa (name length))
Student writes a template/function with parameter named a-boa, but
misspells one occurrence, writing boa instead of a-boa.
(define (feed a-boa)
(make-boa (boa-name a-boa)
Consider a beginner file with:
(define-struct boa (name length))
Student writes a template/function with parameter named a-boa, but
misspells one occurrence, writing boa instead of a-boa.
(define (feed a-boa)
(make-boa (boa-name a-boa)
(boa-length boa)))
Their tests then fail
2 matches
Mail list logo