There is function in python called eval that takes string input and evaluates it.
eval
>>> x = 1 >>> print eval(\'x+1\') 2 >>>
There is no eval equivalent, Haskell is a statically compiled language, same as C or C++ which does not have eval neither.