
24 Dec
2007
24 Dec
'07
8:39 a.m.
2007/12/24, Cristian Baboi
On Mon, 24 Dec 2007 11:27:11 +0200, apfelmus
wrote: Cristian Baboi wrote:
How can I define a function to do the inverse operation ? g :: String -> ( a -> b ) This time I cannot see how referential transparency will deny it. What's the excuse now ?
It seems to me that "referential transparency" as well as "the executable don't embed it's source" aren't simple excuses, though you don't seem to understand that Haskell isn't an interpreted language... Similarly, the languages that offer an "eval()" as it is mostly called are always interpreted, most other languages push this capability (if they have it at all) on libraries, in Haskell you can try to use hs-plugins for example. -- Jedaï