-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: text-2.1 has Data.Text.IO.Utf8 whose name conflicts with our module with the same name. Solution: our module contains 2 functions: `readFile` and `writeFile`. They are implemented differently from `text` versions, but look semantically equivalent. Our functions are also polymorphic in the monad type, but that's orthogonal to the purpose of this package, so we can sacrifice this polymorphism. So it looks like our module doesn't add much value anymore and should be deleted. However, it's a good practice to deprecate something before deleting, so we deprecate this module instead. It will be deleted in a future version. Note that the same module for lazy Text remains intact, since there are apparently no such functions for lazy Text in text-2.1.
- Loading branch information
1 parent
5af632d
commit 8b4d41a
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters