MonkeyType: type inference for transpiling Python to Rust

2 |     for num in numbers {
| ^^^^^^^ `T0` is not an iterator
4 |     return true;
| ^^^^ expected type parameter, found bool
Note how List[int] has become Vec<i32>

Porting guide

Conclusion

--

--

--

Blockchain engineer at @madfish.solutions. Ex-Ubisoft. Telegram channel https://t.me/tenxer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Julian Konchunas

Julian Konchunas

Blockchain engineer at @madfish.solutions. Ex-Ubisoft. Telegram channel https://t.me/tenxer

More from Medium

WASM IN PYTHON

100x speedup on Python with just a touch of C++

Install Pytorch on Ubuntu

Comparing Programming Languages: Hello World