Permalink
Browse files

Merge branch 'develop' of git://github.com/dbyrne/4clojure into develop

  • Loading branch information...
2 parents 7e08ff2 + 91ca821 commit 3070e1b1f012d09714db4ff44346857f56a7d7b2 Clinteger committed Apr 23, 2011
Showing with 10 additions and 2 deletions.
  1. +10 −2 src/foreclojure/data_set.clj
@@ -515,8 +515,16 @@
(insert! :problems
{:_id 51
+ :title "Advanced Destructuring"
+ :times-solved 0
+ :description "Here is an example of some more sophisticated destructuring."
+ :tags ["medium" "destructuring"]
+ :tests ["(= __ (let [[a b & c :as d] [1 2 3 4 5]] [a b c d]))"]})
+
+ (insert! :problems
+ {:_id 52
:title "Intro to Destructuring"
:times-solved 0
:description "Let bindings and function parameter lists support destructuring."
- :tags ["easy"]
- :tests ["(= __ (let [[a b & c :as d] [1 2 3 4 5]] [a b c d]))"]})))
+ :tags ["easy" "destructuring"]
+ :tests ["(= [2 4] (let [[a b c d e f g] (range)] __))"]})))

0 comments on commit 3070e1b

Please sign in to comment.