dbrattli / OSlash

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

fix https://github.com/dbrattli/OSlash/issues/35 #36

Open banderlog opened 3 months ago

banderlog commented 3 months ago

This happens because you're mixing typing.Protocol with typing_extensions.runtime_checkable. If you either import both symbols from typing or both symbols from typing_extensions, the error goes away.