fsprojects / FSharp.Interop.PythonProvider

Early experimental F# type provider for python
http://fsprojects.github.io/FSharp.Interop.PythonProvider/
Other
42 stars 12 forks source link

Represent python methods as static methods not static properties #3

Closed ghost closed 10 years ago

ghost commented 10 years ago

Python.math.sin is of type PyObject.

It should be a method member sin(x:PyObject)

Stackoverflow has good docs on how to get the arguments for both builtins (using documentation scripting) and regular methods (using 'inspect')

dmitry-a-morozov commented 10 years ago

Fixed it for built-ins (which is harder). The next step regular functions.

dmitry-a-morozov commented 10 years ago

fixed for non-built-ins too