Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on Dec 22, 2011
@gregwebs gregwebs in 7.4 Integral does not imply Show 9911eba
Tony Hannan Merge pull request #5 from gregwebs/ghc-7.4
in 7.4 Integral does not imply Show
13febc7
Commits on Jan 24, 2012
@TonyGen TonyGen bump version for previous commit 4130155
Showing with 4 additions and 4 deletions.
  1. +1 −1  Data/Bson.hs
  2. +3 −3 bson.cabal
View
2  Data/Bson.hs
@@ -60,7 +60,7 @@ roundTo :: (RealFrac a) => a -> a -> a
-- ^ 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
View
6 bson.cabal
@@ -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 @@ Description: A BSON Document is an untyped (dynamically type-checked) record. I.
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

No commit comments for this range

Something went wrong with that request. Please try again.