Skip to content

Commit 4154247

Browse files
authored
Removed deprecated metadata
Was causing clojurescript users problems: https://dev.clojure.org/jira/browse/MCOMB-9
1 parent 3f1b430 commit 4154247

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/clojure/clojure/math/combinatorics.cljc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;;; sequences for common combinatorial functions.
33

44
;; by Mark Engelberg (mark.engelberg@gmail.com)
5-
;; Last updated - Jan 7, 2017
5+
;; Last updated - Apr 7, 2019
66

77
(ns
88
#^{:author "Mark Engelberg",
@@ -253,7 +253,6 @@ collected."
253253
"DEPRECATED as a public function.
254254
255255
In prior versions of the combinatorics library, there were two similar functions: permutations and lex-permutations. It was a source of confusion to know which to call. Now, you can always call permutations. When appropriate (i.e., when you pass in a sorted sequence of numbers), permutations will automatically call lex-permutations as a speed optimization."
256-
{:deprecated "1.3"}
257256
[c]
258257
(lazy-seq
259258
(let [vec-sorted (vec (sort c))]
@@ -910,4 +909,4 @@ represented by freqs"
910909
(cond
911910
(= (count items) 0) (apply partitions-H items args)
912911
(all-different? items) (apply partitions-H items args)
913-
:else (apply partitions-M items args)))
912+
:else (apply partitions-M items args)))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy