PasteRack.org
Paste # 21251
2017-09-13 12:43:50

Fork as a new paste.

Paste viewed 77 times.


Embed:

  1. #lang racket
  2. (define-struct suitcase [length width height])
  3. (define-struct scanner [height width])
  4.  
  5. (make-suitcase s1 10 10 10)
  6. (make-scanner s2 20 20)

=>

s1: undefined;

 cannot reference an identifier before its definition

  in module: 'm

s2: undefined;

 cannot reference an identifier before its definition

  in module: 'm