Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution on exercise 22 does not work on 1.6 #432

Open
ghost opened this issue Oct 27, 2014 · 0 comments
Open

solution on exercise 22 does not work on 1.6 #432

ghost opened this issue Oct 27, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 27, 2014

The solution to exercise 22 seems to be :

(defn old-book->new-book [book](let [authors %28get book :authors%29]
%28assoc book :authors %28set authors%29%29))

but when you do this in 1.6.0 this is the output :

{:title "Wild Seed", :authors #{{:death-year 2006, :name "Octavia E. Butler", :birth-year 1947}}}

Is it a idea to update this course to the newer version.

Roelof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants