dbrattli / OSlash

Functors, Applicatives, And Monads in Python
MIT License
708 stars 50 forks source link

python 3.7 Doesn't it support? #24

Closed PlumpHip closed 3 years ago

PlumpHip commented 3 years ago

Hello For the reason I need typing extensions, I get a Protocol error when import oslash. Thanks.

dbrattli commented 3 years ago

Sorry, but after the rewrite, OSlash is now Python 3.8+. This is because OSlash now uses structural subtyping: https://www.python.org/dev/peps/pep-0544/