of course I can.
If I look at answers other people gives then this is the solution :
(defn old-book->new-book [book]
(assoc book :authors (set (book :authors)))
)
and then according to the explanation I would see this output ;
(old-book->new-book {:title "Wild Seed", :authors [octavia]});=> {:title "Wild
Seed", :authors #{octavia}}
but on 1.6.0 and on 1.5.1 I see another output as discussed here.
But it seems that midje has aprove this solution so or midje checks against
another output
And then the tekst on the tutorial is very wrong.
Or midje checks and aproves the wrong answer ( the answer in the text) and
aproves the wrong answer.
Roelof
On Monday, October 27, 2014 8:24:12 PM UTC+1, James Reeves wrote:
> On 27 October 2014 19:16, Roelof Wobben <[email protected] <javascript:>>
> wrote:
>
>> Wierd, also on 1.5.1 I see the same output as 1.6.0.
>>
>> So there is a error in the page or the test are not checking it properly
>> .
>>
>
> Could you explain what you think is an error? Your messages are a little
> cryptic.
>
> - James
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.