haskell / haskell/bytestring

getLine doesn't honor handle's newline setting

Open
#13 20 comments 0 reactions 0 assignees Claimed by @dbramucci View on GitHub
bug pr-welcome Windows
Dominant language
Haskell
Stars
301
Forks
144
Avg merge
7d 22h
Merged PRs (30d)
1

Description

It would be nice if BS.getLine would use the handle's newline setting so that in `CRLF` mode strings are returned with both the CR (if present) and LF removed.

An example of code that demonstrates the behavior:

http://stackoverflow.com/questions/22417171/bs-getline-and-crlf-endings

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.