diff --git a/beautiful-racket-demo/basic-demo-3/expr.rkt b/beautiful-racket-demo/basic-demo-3/expr.rkt index 05c1969..35902b2 100644 --- a/beautiful-racket-demo/basic-demo-3/expr.rkt +++ b/beautiful-racket-demo/basic-demo-3/expr.rkt @@ -35,4 +35,5 @@ (if result 1 0) result)) (raise-line-error - (format "undefined function: ~a" 'FUNC-ID)))) + (format "expected ~a to be a function, got ~v" + 'FUNC-ID FUNC-ID))))