xlsx 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+6/−9 lines, 2 filesdep −filepathdep ~conduitdep ~xml-conduit
Dependencies removed: filepath
Dependency ranges changed: conduit, xml-conduit
Files
- src/Codec/Xlsx/Parser.hs +1/−2
- xlsx.cabal +5/−7
src/Codec/Xlsx/Parser.hs view
@@ -24,7 +24,6 @@ import qualified Data.Text.Read as T import Data.XML.Types import Prelude hiding (sequence)-import System.FilePath import Text.XML as X import Text.XML.Cursor @@ -173,7 +172,7 @@ sheetData = c $/ element (n"sheets") &/ element (n"sheet") >=> liftA2 (,) <$> attribute "name" <*> attribute (odr"id") wbRels = getWbRels ar- in [WorksheetFile name ("xl" </> T.unpack (fromJust $ lookup rId wbRels)) | (name, rId) <- sheetData]+ in [WorksheetFile name ("xl/" ++ T.unpack (fromJust $ lookup rId wbRels)) | (name, rId) <- sheetData] getWbRels :: Zip.Archive -> [(Text, Text)] getWbRels ar = case xmlCursor ar "xl/_rels/workbook.xml.rels" of
xlsx.cabal view
@@ -1,6 +1,6 @@ Name: xlsx -Version: 0.1.0.1+Version: 0.1.0.2 Synopsis: Simple and incomplete Excel file parser/writer Description:@@ -42,9 +42,9 @@ , bytestring >= 0.10.0.2 , text >= 0.11.3.1 , lens >= 3.8 && < 5- , conduit == 1.0.*+ , conduit >= 1.0.0 , xml-types == 0.3.*- , xml-conduit == 1.1.*+ , xml-conduit >= 1.1.0 , zip-archive == 0.2.* , digest == 0.0.* , zlib == 0.5.4.*@@ -52,7 +52,6 @@ , time >= 1.4.0.1 , old-time >= 1.1.0.1 , old-locale >= 1.0.0.5- , filepath >= 1.3.0.1 , data-default == 0.5.* Default-Language: Haskell2010 @@ -67,9 +66,9 @@ main-is: Test.hs Build-depends: base, containers, transformers, bytestring, text- , conduit == 1.0.*+ , conduit >= 1.0.0 , xml-types == 0.3.*- , xml-conduit == 1.1.*+ , xml-conduit >= 1.1.0 , zip-archive == 0.2.* , lens >= 3.8 && < 5 , digest > 0.0.0.1@@ -78,7 +77,6 @@ , time , old-time , old-locale- , filepath , data-default == 0.5.* Default-Language: Haskell2010