PasteRack.org
Paste # 20097
2017-09-14 04:35:49

Fork as a new paste.

Paste viewed 15 times.


Embed:

  1. #lang racket
  2.  
  3. (DEFINE (quadrat a b c d)
  4.        (
  5.          cons (cons a (cons b `()))
  6.               (cons (cons c (cons d `()))
  7.                     `()
  8.               )
  9.        )
  10. )
  11.  
  12. (quadrat 1 2 3 4)

=>

DEFINE: undefined;

 cannot reference an identifier before its definition

  in module: 'm

quadrat: undefined;

 cannot reference an identifier before its definition

  in module: 'm