Typechecker stdlib module :shipit:

This commit is contained in:
Xander Mckay 2024-11-30 10:29:08 -05:00
parent 6f8b5a4e96
commit 5316cff2a2
6 changed files with 736 additions and 1709 deletions

4
examples/typechecker.it Normal file
View file

@ -0,0 +1,4 @@
import typecheck as tc
tc.checktype('hello', int | str) |> print
tc.checktype(0xdeadbeef, int | str) |> print
tc.checktype(['hello', 0xdeadbeef], int | str) |> print