Closed karamellpelle closed 5 years ago
It would be using T everywhere, would you be interested in sending a PR to fix the docs?
Exclusion of textual IO operations is intentional. See https://www.snoyman.com/blog/2016/12/beware-of-readfile
Thanks!
The module documentation for RIO.Text.Partial says
import qualified RIO.Text.Partial as T'
, but RIO.Text saysimport qualified RIO.Text as Text
. Your tutorial https://haskell.fpcomplete.com/tutorial/string-types saysimport qualified Data.Text as T
. Shouldn't RIO.Text say T?PS: Shouldn't also RIO include and export the Data.Text.IO module which has file reading/writing functionality? The RIO.ByteString exposes file reading/writing.