#lang racket
(require mzlib/string)


(define a "(* x x)")

(define (makfunction s)
  (eval-string (string-append
                "(lambda (x) "
                s
                ")")))

(define d (makfunction a))

;; The above line will not work when you press run.
;; However, if you key it in the evaluation window after run
;; it will work. WHY?


;Thanks, jb

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to