(register-type my_position_struct [x Int, y Int])

This commit is contained in:
Erik Svedäng 2017-11-14 22:35:31 +01:00
parent f03458c383
commit 3f819efab7

View File

@ -22,7 +22,8 @@
* Doc strings
## Smaller Language Features ("niceties")
* All the math functions!
* Enable interop with existing C structs. Proposed syntax: "(register-type my_position_struct [x Int, y Int])"
* All the math functions! (getting there...)
* Good string functions
* Being able to use 'the' in function parameter declarations, i.e. (defn f [(the Int x)] x) to enforce a type
* Allow use of 'the' as a wrapper when defining a variable or function, i.e. (the (Fn [Int] Int) (defn [x] x))