Here is what I’ve tried:
(def character @{:name "Nova" :age 22 :life 100 :mana 75})
((name age life mana) = character)
# Output: compile error: unknown symbol name
>Solution :
Destructure doesn’t have a similar syntax to Python. Here is how to destructure your table into variables:
(def {:name character-name :age character-age
:life character-life :mana character-mana} character)
(print "Name: " character-name " Life: " character-life)
# Output: Name: Nova Life: 100