mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-28 21:14:55 +03:00
Merge branch 'master' into 0.3
* master: Remove Bug from the Unit instance of RowParser Update the "list-t" bounds
This commit is contained in:
commit
93a1185a91
@ -22,6 +22,7 @@ install:
|
||||
cabal install "text == 1.0.*";
|
||||
cabal install "attoparsec == 0.10.*";
|
||||
cabal install "time == 1.4.*";
|
||||
cabal install "list-t == 0.2.*";
|
||||
fi;
|
||||
# Work around the "haskell-src-exts" implicit dependency:
|
||||
- cabal install happy
|
||||
|
@ -105,7 +105,7 @@ library
|
||||
bytestring == 0.10.*,
|
||||
text >= 1.0 && < 1.3,
|
||||
-- control:
|
||||
list-t >= 0.2.4 && < 0.3,
|
||||
list-t >= 0.2.4 && < 0.4,
|
||||
monad-control == 0.3.*,
|
||||
transformers-base == 0.4.*,
|
||||
-- errors:
|
||||
|
@ -14,7 +14,7 @@ instance RowParser b () where
|
||||
parseRow row =
|
||||
if Vector.null row
|
||||
then Right ()
|
||||
else $bug "Not an empty row"
|
||||
else Left "Not an empty row"
|
||||
|
||||
instance Backend.Mapping b v => RowParser b (Identity v) where
|
||||
parseRow row = do
|
||||
|
Loading…
Reference in New Issue
Block a user