median-stream 0.6.0.0 → 0.7.0.0
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- median-stream.cabal +1/−1
- src/Data/MedianStream.hs +1/−1
median-stream.cabal view
@@ -1,5 +1,5 @@ name: median-stream-version: 0.6.0.0+version: 0.7.0.0 synopsis: Constant-time queries for the median of a stream of numeric data. description: Uses the two-heap approach to support O(lg n) insertions
src/Data/MedianStream.hs view
@@ -68,7 +68,7 @@ uncurry (flip MedianStream) $ popAndSwap rh lh a | otherwise = MedianStream lh (Heap.insert a rh) --- | Query the MedianStream for the median of the stream of integers+-- | Query the MedianStream for the median of the stream of numbers -- inserted so far. -- Complexity: O(1) median :: MedianStream a -> Maybe Double