-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
I get a messily ordered vector of hobbit body parts when I execute (symmetrize-body-parts asym-hobbit-body-parts) .
According to the answer shown in the book and the code , symmetrize should return a vector of body parts which has {left-part} before the matching {right-part}.
But When I execute, I get the following vector.
Note that towards the end of the vector, the matching {right-part} comes before {left-part}.
Am I doing something wrong? or is this a bug?
Thank you.
(symmetrize-body-parts asym-hobbit-body-parts)
=>
[{:name "head", :size 3}
{:name "left-eye", :size 1}
{:name "right-eye", :size 1}
{:name "left-ear", :size 1}
{:name "right-ear", :size 1}
{:name "mouth", :size 1}
{:name "nose", :size 1}
{:name "neck", :size 2}
{:name "left-shoulder", :size 3}
{:name "right-shoulder", :size 3}
{:name "right-upper-arm", :size 3}
{:name "left-upper-arm", :size 3}
{:name "chest", :size 10}
{:name "back", :size 10}
{:name "left-forearm", :size 3}
{:name "right-forearm", :size 3}
{:name "abdomen", :size 6}
{:name "left-kidney", :size 1}
{:name "right-kidney", :size 1}
{:name "left-hand", :size 2}
{:name "right-hand", :size 2}
{:name "right-knee", :size 2}
{:name "left-knee", :size 2}
{:name "right-thigh", :size 4}
{:name "left-thigh", :size 4}
{:name "right-lower-leg", :size 3}
{:name "left-lower-leg", :size 3}
{:name "right-achilles", :size 1}
{:name "left-achilles", :size 1}
{:name "right-foot", :size 2}
{:name "left-foot", :size 2}]
Metadata
Metadata
Assignees
Labels
No labels