Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clj-reduce-plus can take more than two sequence as arg.
tree: e04e8eeff8

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/hozumi
test/hozumi
.gitignore
README.md
epl-v10.html
project.clj

README.md

clj-reduce+

Clj-reduce+ can take more than two sequence as arg.

Usage

(use 'hozumi.reduce+)

(reduce+ assoc {} [:a :b :c] [1 2 3]) ;take 2 sequence.
;=> {:c 3, :b 2, :a 1}

(reduce+ #(assoc %1 %2 (/ %3 %4)) {} [:a :b :c] [1 2 3] [4 5 6])
;=> {:c 1/2, :b 2/5, :a 1/4}   ;take 3 sequence.

Installation

Leiningen [org.clojars.hozumi/clj-reduce+ "1.0.0-SNAPSHOT"]

Something went wrong with that request. Please try again.