packages feed

indexed-list-literals 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+4/−3 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -0,0 +1,1 @@+Changed GHC.TypeNats to GHC.TypeLits to allow older versions of GHC to build the package
indexed-list-literals.cabal view
@@ -2,7 +2,7 @@ -- further documentation, see http://haskell.org/cabal/users-guide/  name:                indexed-list-literals-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Type safe indexed list literals homepage:            https://github.com/davidm-d/indexed-list-literals license:             BSD3
src/Data/IndexedListLiterals.hs view
@@ -13,7 +13,7 @@   , ZeroTuple(..)   ) where -import GHC.TypeNats+import GHC.TypeLits import Data.Kind import Data.Tuple.OneTuple -- import Control.Monad@@ -44,7 +44,7 @@ --   withCommas = scanl1 (\a b -> a++","++b) --   className = "IndexedListLiterals" --   template tys vals length =---     ["instance " ++ className ++ " (" ++ tys ++ ") " ++ show length ++ " " ++ head types ++ " where"+  --     ["instance " ++ className ++ " (" ++ tys ++ ") " ++ show length ++ " " ++ head types ++ " where" --     ,"  toList (" ++ vals ++ ") = [" ++ vals ++ "]"] --   res = zipWith3 template (withCommas types) (withCommas values) [0 :: Int ..] --   dropOneTuple = tail