packages feed

ixset 1.0.1 → 1.0.2

raw patch · 2 files changed

+4/−6 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ixset.cabal view
@@ -1,5 +1,5 @@ Name:                ixset-Version:             1.0.1+Version:             1.0.2 Synopsis:            Efficient relational queries on Haskell sets.  Description:              Create and query sets that are indexed by multiple indices.@@ -8,7 +8,7 @@ Author:              Happstack team, HAppS LLC Maintainer:          Happstack team <happs@googlegroups.com> homepage:            http://happstack.com-Category:            Web, Distributed Computing+Category:            Data Structures Build-Type:          Simple Cabal-Version:       >= 1.6 
src/Data/IxSet.hs view
@@ -358,11 +358,9 @@                                                              appT (appT (conT ''Map) (conT n))                                                                        (appT (conT ''Set) typeCon))) `appE`                                      (varE 'flattenWithCalcs `appE` varE calName)-               in do i <- instanceD' (fullContext) +               in do i <- instanceD (fullContext)                           (conT ''Indexable `appT` typeCon)-                          [d| empty :: IxSet a-                              empty = ixSet $(listE (map mkEntryPoint entryPoints))-                            |]+                          [valD (varP 'empty) (normalB [| ixSet $(listE (map mkEntryPoint entryPoints)) |]) []]                      let ixType = appT (conT ''IxSet) typeCon                      ixType' <- tySynD (mkName ixset) binders ixType                      return $ [i, ixType']  -- ++ d