dbrattli / dbrattli/OSlash

TypeAlias with Generic ABCs

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
756
Forks
51
PR merge metrics
No merged PRs in 30d

Description

type checking the follow program with `mypy`:
```python
from oslash import List

IntList = List[int]

def f() -> IntList:
return List.unit(0)
```
Yields `error: Invalid type "StrList"`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.