bson 0.1.6 → 0.1.7
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Data/Bson.hs +1/−1
- bson.cabal +3/−3
Data/Bson.hs view
@@ -60,7 +60,7 @@ -- ^ Round second number to nearest multiple of first number. Eg: roundTo (1/1000) 0.12345 = 0.123 roundTo mult n = fromIntegral (round (n / mult)) * mult -showHexLen :: (Integral n) => Int -> n -> ShowS+showHexLen :: (Show n, Integral n) => Int -> n -> ShowS -- ^ showHex of n padded with leading zeros if necessary to fill d digits showHexLen d n = showString (replicate (d - sigDigits n) '0') . showHex n where sigDigits 0 = 1
bson.cabal view
@@ -1,5 +1,5 @@ Name: bson-Version: 0.1.6+Version: 0.1.7 Synopsis: BSON documents are JSON-like objects with a standard binary encoding Description: A BSON Document is an untyped (dynamically type-checked) record. I.e. it is a list of name-value pairs, where a Value is a single sum type with constructors for basic types (Bool, Int, Float, String, and Time), compound types (List, and (embedded) Document), and special types (Binary, Javascript, ObjectId, RegEx, and a few others). .@@ -8,8 +8,8 @@ Category: Data Homepage: http://github.com/TonyGen/bson-haskell Author: Tony Hannan-Maintainer: Tony Hannan <tony@10gen.com>-+Maintainer: Tony Hannan <tonyhannan@gmail.com>+Copyright: Copyright (c) 2010-2012 10gen Inc. License: OtherLicense License-file: LICENSE cabal-version: >= 1.8