Frames 0.1.1.1 → 0.1.2
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- Frames.cabal +1/−1
- src/Frames/Frame.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.1.2++Fixed bug in `Monoid` instance of `Frame` (@dalejordan)+ # 0.1.1.0 Added `frameConsA`, `frameSnoc`, and `RecordColumns` to help with
Frames.cabal view
@@ -1,5 +1,5 @@ name: Frames-version: 0.1.1.1+version: 0.1.2 synopsis: Data frames For working with tabular data files description: User-friendly, type safe, runtime efficient tooling for working with tabular data deserialized from
src/Frames/Frame.hs view
@@ -32,7 +32,7 @@ instance Monoid (Frame r) where mempty = Frame 0 (const $ error "index out of bounds (empty frame)") Frame l1 f1 `mappend` Frame l2 f2 = Frame (l1+l2) $ \i ->- if i < l1 then f1 i else f2 i+ if i < l1 then f1 i else f2 (i - l1) instance Foldable Frame where foldMap f (Frame n row) = foldMap (f . row) [0..n-1]