Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions oslash/typing/applicative.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from abc import abstractmethod

from typing import Callable, TypeVar, Protocol
from typing_extensions import runtime_checkable
from typing import Callable, TypeVar, Protocol, runtime_checkable

TSource = TypeVar('TSource')
TResult = TypeVar('TResult')
Expand Down
3 changes: 1 addition & 2 deletions oslash/typing/functor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from abc import abstractmethod

from typing import TypeVar, Protocol, Callable
from typing_extensions import runtime_checkable
from typing import TypeVar, Protocol, Callable, runtime_checkable

TSource = TypeVar('TSource', covariant=True)
TResult = TypeVar('TResult')
Expand Down
3 changes: 1 addition & 2 deletions oslash/typing/monad.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"""

from abc import abstractmethod
from typing import TypeVar, Protocol, Callable
from typing_extensions import runtime_checkable
from typing import TypeVar, Protocol, Callable, runtime_checkable

TSource = TypeVar('TSource')
TResult = TypeVar('TResult')
Expand Down
3 changes: 1 addition & 2 deletions oslash/typing/monoid.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from abc import abstractmethod
from typing import Protocol, TypeVar
from typing_extensions import runtime_checkable
from typing import Protocol, TypeVar, runtime_checkable

TSource = TypeVar('TSource')

Expand Down