Candy is a programming language created in 2020 by Jonas Wanke and Marcel Garus.
#1712on PLDB | 3Years Old | 82Users |
0Books | 0Papers |
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