We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typeclass
When defining a typeclass, it is easy to forget that @typeclass definition must not have a body.
Probably, we can check it with mypy.
mypy
So, this must be an error:
@typeclass def some(instance) -> None: x = 1