
8 Apr
2007
8 Apr
'07
6:05 a.m.
pvolgger:
Hello everybody! Can me somebody say how I can call a function by string? Thus I want to have a function that has as argument a string (name of a function to call) and then tries to call that function, a kind of:
functionCall :: String -> [String] -> RetVal functionCall functionName arguments = ...
You'll need to implement a symbol table, I suspect. A Map is good structure for this. -- Don