We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53d7ee commit 72ed814Copy full SHA for 72ed814
src/kirin/types.py
@@ -1,5 +1,7 @@
1
"""Bindings for built-in types."""
2
3
+import numbers
4
+
5
from kirin.ir.method import Method
6
from kirin.ir.attrs.types import (
7
Union as Union,
@@ -20,6 +22,7 @@
20
22
Int = PyClass(int)
21
23
Float = PyClass(float)
24
Complex = PyClass(complex)
25
+Number = PyClass(numbers.Number)
26
String = PyClass(str)
27
Bool = PyClass(bool)
28
NoneType = PyClass(type(None))
0 commit comments