phasm/phasm/type5/router.py
Johan B.W. de Vries 21cea93c3c Notes
2025-08-02 13:28:23 +02:00

9 lines
195 B
Python

from typing import Callable
from .typeexpr import TypeExpr
class TypeRouter[S, R]:
def add(self, typ: TypeExpr, mtd: Callable[[S, TypeExpr], R]) -> None:
raise NotImplementedError