packages feed

hmemdb 0.3.1.1 → 0.3.1.2

raw patch · 2 files changed

+2/−2 lines, 2 files

Files

hmemdb.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                hmemdb
-version:             0.3.1.1
+version:             0.3.1.2
 synopsis:            In-memory relational database
 description:         Library that provides a sort of relational database in memory (which could be saved to the disk, however). Very untested.
 license:             BSD3
src/Data/HMemDb.hs view
@@ -307,7 +307,7 @@                   guard $ i `c` i
                   return $ mToList u
            gvs =
-               do ~((gi, _), _) <- M.maxViewWithKey l
+               do ~((gi, _), _) <- M.maxViewWithKey g
                   guard $ i `c` gi
                   return $ M.elems g >>= mToList
        return $ map (TableVar . Single) $ [lvs, evs, gvs] >>= listUnMaybe