[Haskell-cafe] Mapping string to a function

Brandon Allbery allbery.b at gmail.com
Thu Mar 15 07:33:19 CET 2012


On Thu, Mar 15, 2012 at 02:21, Haisheng Wu <freizl at gmail.com> wrote:

> Thanks Oliver. That's good enough.
> I was ever curious about whether parse String to the function rather
> than a mapping.
>

GHC has the ability to embed an interpreter.  You do not want to use it.
 If you want Perl/Python/Ruby, please use those; they are interpreters and
have built-in embedded interpreters for use by programs.

(Note that C and C++ are not generally interpreted and also don't have
embedded interpreters either.)

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120315/5b06151d/attachment.htm>


More information about the Haskell-Cafe mailing list