tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.23k stars 85 forks source link

Provide contract interface to pyckel #1894

Open glyh opened 2 months ago

glyh commented 2 months ago

Is your feature request related to a problem? Please describe. It would be helpful if pyckel user can see some type annotations with nickel.

Describe the solution you'd like Use nickel to generate some types for language servers like pyright.

yannham commented 2 months ago

Hello,

I'm not really that familiar with the Python ecosystem - would you have a simple example of a Nickel contract, and you would use it from the Python side if this ideal interface would exist? Just to get a glimpse of what it would look like in practice.