
3 Sep
2007
3 Sep
'07
5:08 a.m.
Hello Alexander, Monday, September 3, 2007, 11:46:56 AM, you wrote:
In Ocaml and Python a special function is used that takes a function and an arguments. For example:
value caml_callback(value closure, value arg); PyObject* PyObject_CallObject(PyObject *func, PyObject *args)
both uses dynamic typing while Haskell wrappers are statically typed (and Haskell just doesn't supported any analog of "value"/PyObject at time of Haskell98) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com