Candy is a programming language created in 2020 by Jonas Wanke and Marcel Garus.
#1066on PLDB | 4Years Old |
git clone https://github.com/candy-lang/Candy
๐ญ A sweet, functional 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