Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update latest ClojureDocs.org snapshot to May 24, 2012

  • Loading branch information...
commit bf9f22aa0f79ca462dae530f7ea926f1efa026da 1 parent 4948cca
@jafingerhut authored
Showing with 226 additions and 12 deletions.
  1. +226 −12 snapshots/clojuredocs-snapshot-latest.txt
View
238 snapshots/clojuredocs-snapshot-latest.txt
@@ -1,4 +1,4 @@
-{:snapshot-time "Thu May 17 14:48:07 PDT 2012",
+{:snapshot-time "Thu May 24 23:05:45 PDT 2012",
:snapshot-info
{"clojure.zip/insert-right"
{:comments [],
@@ -813,7 +813,18 @@
:lib_version "1.2.0",
:library_id 3,
:body
- "user=> (mapcat reverse [[3 2 1 0] [6 5 4] [9 8 7]])\n(0 1 2 3 4 5 6 7 8 9)\n"}],
+ "user=> (mapcat reverse [[3 2 1 0] [6 5 4] [9 8 7]])\n(0 1 2 3 4 5 6 7 8 9)\n"}
+ {:namespace_id 330,
+ :ns "clojure.core",
+ :updated_at "2012-05-18 02:28:06.0",
+ :function "mapcat",
+ :version 1,
+ :created_at "2012-05-18 02:28:06.0",
+ :library "Clojure Core",
+ :lib_version "1.3.0",
+ :library_id 15,
+ :body
+ "user=> (mapcat (fn [[k v]] \n (for [[k2 v2] v] \n (concat [k k2] v2)))\n '{:a {:x (1 2) :y (3 4)}\n :b {:x (1 2) :z (5 6)}})\n\n((:a :x 1 2) (:a :y 3 4) (:b :x 1 2) (:b :z 5 6))"}],
:id 5603,
:name "mapcat",
:ns "clojure.core",
@@ -2120,15 +2131,15 @@
:examples
[{:namespace_id 330,
:ns "clojure.core",
- :updated_at "2012-01-18 00:09:45.0",
+ :updated_at "2012-05-22 14:11:47.0",
:function "set-validator!",
- :version 2,
+ :version 3,
:created_at "2012-01-18 00:07:02.0",
:library "Clojure Core",
:lib_version "1.3.0",
:library_id 15,
:body
- "(let [atm (atom [2])]\n (set-validator atm #(every? even? %)) ; side effect\n (swap! g into [5]))\n ; #<CompilerException java.lang.IllegalStateException: Invalid reference state (NO_SOURCE_FILE:0)>\n (set-validator atm nil)\n (swap! g into [5]))\n ; >>> [2 5]"}],
+ "user=> (def atm (atom [2])\n#'user/atm\n\nuser=> (set-validator! atm #(every? even? %))\nnil\n\nuser=> (swap! atm into [5])\n#<CompilerException java.lang.IllegalStateException: Invalid reference state (NO_SOURCE_FILE:0)>\n\nuser=> (set-validator! atm nil)\nnil\n\nuser=> (swap! atm into [5]))\n[2 5]"}],
:id 5751,
:name "set-validator!",
:ns "clojure.core",
@@ -6586,7 +6597,19 @@
:url "http://clojuredocs.org/v/5427"},
"clojure.core/remove-all-methods"
{:comments [],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 1,
+ :name "remove-method",
+ :updated_at "2011-08-21 02:30:38.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:19:38.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1528",
+ :line "1364",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "remove-method",
+ :file "clojure/core.clj"}],
:examples
[{:namespace_id 99,
:ns "clojure.core",
@@ -8030,7 +8053,43 @@
:url "http://clojuredocs.org/v/577"},
"clojure.core/remove-method"
{:comments [],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 1,
+ :name "get-method",
+ :updated_at "2011-08-21 03:34:43.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:26:12.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/2097",
+ :line "1382",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "get-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "methods",
+ :updated_at "2010-10-20 04:42:11.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:24:19.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1930",
+ :line "1377",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "methods",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "remove-all-methods",
+ :updated_at "2011-08-21 02:46:57.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:23:46.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1882",
+ :line "1358",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "remove-all-methods",
+ :file "clojure/core.clj"}],
:examples
[{:namespace_id 99,
:ns "clojure.core",
@@ -18852,7 +18911,55 @@
:library "Clojure Core",
:library_id 3,
:body "Not the most useful output format I've ever seen. :-)"}],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 1,
+ :name "get-method",
+ :updated_at "2011-08-21 03:34:43.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:26:12.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/2097",
+ :line "1382",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "get-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "remove-method",
+ :updated_at "2011-08-21 02:30:38.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:19:38.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1528",
+ :line "1364",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "remove-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 0,
+ :name "prefer-method",
+ :updated_at "2010-10-20 04:42:10.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:23:57.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1896",
+ :line "1370",
+ :arglists_comp "[multifn dispatch-val-x dispatch-val-y]",
+ :url_friendly_name "prefer-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 0,
+ :name "prefers",
+ :updated_at "2010-10-20 04:42:09.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:23:15.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1836",
+ :line "1388",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "prefers",
+ :file "clojure/core.clj"}],
:examples
[{:namespace_id 99,
:ns "clojure.core",
@@ -29045,7 +29152,18 @@
:lib_version "1.2.0",
:library_id 3,
:body
- ";; Java doesn't support heterogeneous arrays\n;; this will result in an IllegalArgumentException\nuser=> (into-array [2 \"4\" \"8\" 5])\n;; Evaluation aborted.\n\nuser=> (into-array (range 4))\n#<Integer[] [Ljava.lang.Integer;@63d6dc46>\n\n;; if you assign a type, you still have to coerce values\nuser=> (into-array Byte/TYPE (range 4))\n;; Evaluation aborted.\n\nuser=> (into-array Byte/TYPE (map byte (range 4)))\n#<byte[] [B@68ffefc9>"}],
+ ";; Java doesn't support heterogeneous arrays\n;; this will result in an IllegalArgumentException\nuser=> (into-array [2 \"4\" \"8\" 5])\n;; Evaluation aborted.\n\nuser=> (into-array (range 4))\n#<Integer[] [Ljava.lang.Integer;@63d6dc46>\n\n;; if you assign a type, you still have to coerce values\nuser=> (into-array Byte/TYPE (range 4))\n;; Evaluation aborted.\n\nuser=> (into-array Byte/TYPE (map byte (range 4)))\n#<byte[] [B@68ffefc9>"}
+ {:namespace_id 330,
+ :ns "clojure.core",
+ :updated_at "2012-05-25 02:08:35.0",
+ :function "into-array",
+ :version 1,
+ :created_at "2012-05-25 02:08:35.0",
+ :library "Clojure Core",
+ :lib_version "1.3.0",
+ :library_id 15,
+ :body
+ ";; java.nio.file.Paths#get takes (String, String...)\nuser=> (java.nio.file.Paths/get \"/Users\" (into-array [\"username\" \"dev\" \"clojure\"]))\n#<UnixPath /Users/username/dev/clojure>"}],
:id 5564,
:name "into-array",
:ns "clojure.core",
@@ -37008,7 +37126,43 @@
:url "http://clojuredocs.org/v/5333"},
"clojure.core/prefer-method"
{:comments [],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 0,
+ :name "prefers",
+ :updated_at "2010-10-20 04:42:09.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:23:15.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1836",
+ :line "1388",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "prefers",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "get-method",
+ :updated_at "2011-08-21 03:34:43.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:26:12.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/2097",
+ :line "1382",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "get-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "methods",
+ :updated_at "2010-10-20 04:42:11.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:24:19.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1930",
+ :line "1377",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "methods",
+ :file "clojure/core.clj"}],
:examples [],
:id 5666,
:name "prefer-method",
@@ -45218,7 +45372,43 @@
:url "http://clojuredocs.org/v/3194"},
"clojure.core/prefers"
{:comments [],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 0,
+ :name "prefer-method",
+ :updated_at "2010-10-20 04:42:10.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:23:57.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1896",
+ :line "1370",
+ :arglists_comp "[multifn dispatch-val-x dispatch-val-y]",
+ :url_friendly_name "prefer-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "methods",
+ :updated_at "2010-10-20 04:42:11.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:24:19.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1930",
+ :line "1377",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "methods",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "get-method",
+ :updated_at "2011-08-21 03:34:43.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:26:12.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/2097",
+ :line "1382",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "get-method",
+ :file "clojure/core.clj"}],
:examples [],
:id 5667,
:name "prefers",
@@ -46527,7 +46717,31 @@
:url "http://clojuredocs.org/v/5969"},
"clojure.core/get-method"
{:comments [],
- :see-alsos [],
+ :see-alsos
+ [{:namespace_id 99,
+ :weight 1,
+ :name "remove-method",
+ :updated_at "2011-08-21 02:30:38.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:19:38.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1528",
+ :line "1364",
+ :arglists_comp "[multifn dispatch-val]",
+ :url_friendly_name "remove-method",
+ :file "clojure/core.clj"}
+ {:namespace_id 99,
+ :weight 1,
+ :name "methods",
+ :updated_at "2010-10-20 04:42:11.0",
+ :version "1.2.0",
+ :created_at "2010-07-14 20:24:19.0",
+ :added nil,
+ :url "http://clojuredocs.org/v/1930",
+ :line "1377",
+ :arglists_comp "[multifn]",
+ :url_friendly_name "methods",
+ :file "clojure/core.clj"}],
:examples
[{:namespace_id 99,
:ns "clojure.core",
Please sign in to comment.
Something went wrong with that request. Please try again.