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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to