All Projects → Foxboron → Hype

Foxboron / Hype

Licence: other
Function annotations for Hylang!

Programming Languages

python
139335 projects - #7 most used programming language
Hy
24 projects

Hype

The Hype is Real!

With the help of the typeannotations you can have types, AND type checking with Hy!

Work in progress!

=> (require hype.ann)
=> (ann foo [int :-> str])
=> (defn foo [a] (str a))
=> (foo 1)
'1'
=> (foo "1")
Traceback (most recent call last):
...
TypeError: Incorrect type for "a"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].