packages feed

odbc 0.2.1 → 0.2.2

raw patch · 3 files changed

+6/−1 lines, 3 files

Files

CHANGELOG view
@@ -1,3 +1,6 @@+0.2.2:+	* Accept smaller int/floats in bigger types+ 0.2.1: 	* Expose rawUnescapedText 
odbc.cabal view
@@ -5,7 +5,7 @@              suite runs on OS X, Windows and Linux. copyright: FP Complete 2018 maintainer: chrisdone@fpcomplete.com-version:             0.2.1+version:             0.2.2 license:             BSD3 license-file:        LICENSE build-type:          Simple
src/Database/ODBC/Conversion.hs view
@@ -70,12 +70,14 @@   fromValue =     (\case        IntValue x -> pure (id x)+       ByteValue x -> pure (fromIntegral x)        v -> Left ("Expected Int, but got: " ++ show v))  instance FromValue Double where   fromValue =     (\case        DoubleValue x -> pure (id x)+       FloatValue x -> pure (realToFrac x)        v -> Left ("Expected Double, but got: " ++ show v))  instance FromValue Float where