cabal-version: 3.0 name: newline version: 0.0.1.0 synopsis: newline specifications as values description: Defines a Newline data type, which is essentially a non-empty string, but with the intention of encoding a family of algorithms for the detection and manipulation of lines of text. In addition, a number of pattern synonyms are also provided, which offer a more self-documenting interface for specifying newlines. Algorithms to split and merge text by line are also provided. These are generalizations of Prelude's line/unline functions. They are provided with Newline values to specify their exact behavior. At the moment, little effort has been made to optimize the general line splitting algorithm, and many convenience functions are missing. This is because such improvements are premature for my personal case, but feel free to submit a PR for either. I'll want to make this package a central location for these tasks. category: Text homepage: https://github.com/edemko/hs-newline bug-reports: https://github.com/edemko/hs-newline/issues author: Marseille Bouchard maintainer: zankoku.okuno@gmail.com copyright: 2023 Marseille Bouchard license: BSD-3-Clause license-file: LICENSE extra-source-files: README.md, CHANGELOG.md source-repository head type: git location: https://github.com/edemko/hs-newline library hs-source-dirs: src exposed-modules: Text.Newline -- other-modules: build-depends: , base >=4.11.1 && <4.17 , text >=2.0 && <2.1 default-language: Haskell2010 ghc-options: -O2 -Wall -Wunticked-promoted-constructors