[plt-scheme] treating a string a procedure name

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Mon Feb 16 12:10:35 EST 2004

Does eval-string in string.ss fit the bill?

(require (lib "string.ss"))

(define (square x)
  (* x x))

((eval-string "square") 2)
> 4


Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org

Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.

Posted on the users mailing list.