Candy is a programming language created in 2020 by Jonas Wanke and Marcel Garus.
git clone https://github.com/candy-lang/Candy
#1603on PLDB | 4Years Old |
A sweet programming language that is robust, minimalistic, and expressive.
type = use "..Type"
is value := type.is value Struct
hasKey struct key :=
needs (is struct)
✨.structHasKey struct key
getUnwrap struct key :=
needs (is struct)
needs (hasKey struct key)
✨.structGet struct key
getKeys struct :=
needs (is struct)
✨.structGetKeys struct