Re: [racket-dev] define-struct exports something to BSL

2010-09-22 Thread Michael Sperber
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)

[racket-dev] define-struct exports something to BSL

2010-09-21 Thread Nadeem Abdul Hamid
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