Giter Site home page Giter Site logo

structured-data's People

Contributors

fingerzam avatar ilmoraunio avatar rahcola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

structured-data's Issues

Authors gets defined twice

ex. 24 asks to "Write the function (authors books) that returns the authors of every book in books as a set." but later on after ex. 30 "(def authors #{china, felleisen, octavia, friedman})" data is introduced for testing purposes which gets masked by the previous function definition.

solution on exercise 22 does not work on 1.6

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

hei

I am not sure are autocheck checked my structured-data. I am not sure is it checked my other jobs on this course? How many points i got?

Problem with the Exercise 29

Hi there!
I'm having a issue with the test for the Exercise 29. Look at the result of the test (lein midje):

FAIL "books->string" at (structured_data.clj:317)
Expected: #"3 books. The Little Schemer, written by (Daniel Friedman (1944 - ), Matthias Felleisen|Matthias Felleisen, Daniel Friedman (1944 - )). The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."

Comparing with the result in the article:

(books->string [little-schemer, cities, wild-seed])
;=> "3 books. The Little Schemer, written by Daniel Friedman (1944 - ), Matthias Felleisen. The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.