cabal-version: 3.0 name: line-indexed-cursor version: 0.1.0.0 synopsis: Line-indexed file reader. description: Lazily builds the index with the line numbers while reading the file making it possible to rewind to them quickly later. license: MIT license-file: LICENSE author: Evgenii Akentev maintainer: i@ak3n.com category: Development, Library, Data build-type: Simple extra-doc-files: CHANGELOG.md common warnings ghc-options: -Wall -Wnoncanonical-monad-instances -Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Widentities -Wunused-packages -Wmissing-deriving-strategies library import: warnings exposed-modules: System.IO.LineIndexedCursor build-depends: base >= 4.7 && < 5, bytestring ^>= 0.11, array >= 0.5.2.0 && < 6 hs-source-dirs: src default-language: Haskell2010 test-suite line-indexed-cursor-test import: warnings default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs build-depends: base >= 4.7 && < 5, hspec >= 2.10 && < 3, line-indexed-cursor benchmark bench import: warnings ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: Bench.hs build-depends: base >= 4.7 && < 5, criterion >= 1.5 && < 2, random >= 1 && < 2, line-indexed-cursor