packages feed

mbtiles 0.1.0.0 → 0.2.0.0

raw patch · 3 files changed

+24/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Database.Mbtiles: class FromTile a
+ Database.Mbtiles: class ToTile a
+ Database.Mbtiles: fromTile :: FromTile a => ByteString -> a
+ Database.Mbtiles: toTile :: ToTile a => a -> ByteString

Files

mbtiles.cabal view
@@ -1,7 +1,7 @@ name:                mbtiles-version:             0.1.0.0-synopsis:            Haskell MBTiles client-description:         Reads MBTiles files.+version:             0.2.0.0+synopsis:            Haskell MBTiles client.+description:         Read and manipulate MBTiles files and associated metadata. homepage:            https://github.com/caneroj1/mbtiles#readme license:             BSD3 license-file:        LICENSE
src/Database/Mbtiles.hs view
@@ -1,3 +1,19 @@+{-|+Module      : Database.Mbtiles+Description : Haskell MBTiles client.+Copyright   : (c) Joe Canero, 2017+License     : BSD3+Maintainer  : jmc41493@gmail.com+Stability   : experimental+Portability : POSIX++This module provides support for reading, writing, and updating+an mbtiles database. There is also functionality for reading+metadata from the database.++See the associated README.md for basic usage examples.+-}+ {-# LANGUAGE OverloadedStrings #-}  module Database.Mbtiles@@ -10,6 +26,10 @@ , Z(..) , X(..) , Y(..)++  -- * Typeclasses+, ToTile(..)+, FromTile(..)    -- * The MbtilesT monad transformer , runMbtilesT
src/Database/Mbtiles/Types.hs view
@@ -40,7 +40,7 @@ instance (MonadIO m) => MonadIO (MbtilesT m) where   liftIO = MbtilesT . liftIO --- | Type specialization 'MbtilesT' to IO.+-- | Type specialization of 'MbtilesT' to IO. type Mbtiles a = MbtilesT IO a  -- | Newtype wrapper around map zoom level.