mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-12 04:58:18 +03:00
(register-type my_position_struct [x Int, y Int])
This commit is contained in:
parent
f03458c383
commit
3f819efab7
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user