Skip to content

Commit 4750b5b

Browse files
committed
make sure closeable-seq is okay with non-lazy inner sequences, and mark 0.2.1-alpha2
1 parent 388175d commit 4750b5b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

project.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
(defproject byte-streams "0.2.1-alpha1"
1+
(defproject byte-streams "0.2.1-alpha2"
22
:description "A simple way to handle the menagerie of Java byte represenations."
33
:license {:name "MIT License"
44
:url "http://opensource.org/licenses/MIT"}
55
:dependencies [[primitive-math "0.1.4"]
66
[clj-tuple "0.2.2"]
7-
[manifold "0.1.1-alpha4"]]
7+
[manifold "0.1.1"]]
88
:profiles {:dev {:dependencies [[org.clojure/clojure "1.7.0"]
99
[org.clojure/test.check "0.8.1"]
1010
[codox-md "0.2.0" :exclusions [org.clojure/clojure]]]}}

src/byte_streams/graph.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@
201201
(reify
202202

203203
clojure.lang.IPending
204-
(isRealized [_] (realized? s))
204+
(isRealized [_]
205+
(or
206+
(not (instance? clojure.lang.IPending s))
207+
(realized? s)))
205208

206209
Object
207210
(finalize [_]

0 commit comments

Comments
 (0)