PasteRack.org
Paste # 2189
2020-03-13 08:45:32

Fork as a new paste.

Paste viewed 256 times.


Embed:

  1. #lang racket/base
  2.  
  3. (define-syntax-rule (foo exprs ...)
  4.   (let ([bar (lambda () 42)])
  5.     (begin exprs ...)))
  6.  
  7. (foo
  8.  (bar))

=>

bar: undefined;

 cannot reference an identifier before its definition

  in module: 'm