@JavaName close\r
closePythonContext :: PythonContext -> <Proc> ()\r
\r
- executePythonStatement :: String -> <Python, Proc> Integer\r
+ executePythonStatement :: String -> <Python, Proc> ()\r
\r
setPythonIntegerVariable :: String -> Integer -> <Python, Proc> ()\r
setPythonIntegerArrayVariable :: String -> Vector Integer -> <Python, Proc> ()\r
getPythonStringArrayVariable :: String -> <Python, Proc> Vector String\r
getPythonNDArrayVariable :: String -> <Python, Proc> NDArray\r
\r
- runPythonF :: (() -> <Python, Proc> a) -> <Proc> a\r
- runWithPythonContextF :: PythonContext -> (() -> <Python, Proc> a) -> <Proc> a\r
-\r
importJava "org.simantics.pythonlink.Python" where\r
openPythonContext :: () -> <Proc> PythonContext\r
\r
+ runPythonF :: (() -> <Python, Proc> a) -> <Proc> a\r
+ runWithPythonContextF :: PythonContext -> (() -> <Python, Proc> a) -> <Proc> a\r
+\r
runPython :: (<Python, Proc> a) -> <Proc> a\r
runPython v = runPythonF (\_ -> v)\r
\r