Skip to content

Foxboron/Hype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Function annotations for Hylang!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published