This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Generic, Optional, TypeVar | |
from abc import ABC, abstractmethod | |
from dataclasses import dataclass | |
T = TypeVar('T') | |
E = TypeVar('E') | |
class Result(Generic[T, E], ABC): | |
@abstractmethod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc main() { | |
do yeet lol; | |
} | |
abstract fn foo() {} |