portable-lines: Alternative 'lines' implementation that understands CR-LF and CR

[ bsd3, library, text ] [ Propose Tags ]

Provides an alternative implementation of the Prelude.lines function that treats the following sequences as newline characters:

Haskell's IO system supports both platform-specific line ending conversion (by opening the file in "text mode"), and explicit setting of the newline mode for input and output (see System.IO.hSetNewlineMode). However:

Versions 0.1
Dependencies base (==4.*), bytestring [details]
License BSD-3-Clause
Copyright Copyright (c) Joseph Adams 2011
Author Joey Adams
Maintainer joeyadams3.14159@gmail.com
Category Text
Source repo head: git clone git://github.com/joeyadams/haskell-portable-lines.git
Uploaded by JoeyAdams at Mon Nov 14 06:53:12 UTC 2011
Distributions LTSHaskell:0.1, NixOS:0.1, Stackage:0.1
Downloads 569 total (24 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees