gpx-conduit 0.1 → 0.1.1
raw patch · 2 files changed
+2/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Geo/GPX/Conduit.hs +1/−2
- gpx-conduit.cabal +1/−1
Geo/GPX/Conduit.hs view
@@ -119,8 +119,7 @@ case nameLocalName n of "ele" -> Just (\p t -> p { pntEle = Just (parseDouble t) }) "time" -> Just (\p t -> p { pntTime = (parseUTC t) })- "speed" -> Just (\p _ -> p ) -- We ignore 'speed'- _ -> Nothing+ _ -> Just const -- ignore everything else handleName :: (MonadThrow m) => pnt -> (pnt -> Text -> pnt) -> Sink Event m pnt handleName p op = fmap (op p) content skipTagAndContents "extensions"
gpx-conduit.cabal view
@@ -2,7 +2,7 @@ -- options, see -- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. Name: gpx-conduit-Version: 0.1+Version: 0.1.1 Synopsis: Read GPX files using conduits Description: Read GPX files into simple Point types. License: BSD3