PasteRack.org
Paste # 51014
2025-02-26 19:33:41

Fork as a new paste.

Paste viewed 689 times.


Embed:

  1. #lang racket
  2.  
  3. (define z 7)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)(define y 123)(define fun (let [(x 2) (y 3)]  (lambda (i) (+ x y z i))))(define l (fun))(l 12)

=>

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm

fun: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 1

  given: 0

l: undefined;

 cannot reference an identifier before its definition

  in module: 'm