A kind of exception that can be thrown by readTextFile and readFile.
Instances2Show, Exception
Show ReadExceptionDefined in Agda-2.7.0.1 · Agda.Utils.IO.UTF8Exception ReadExceptionDefined in Agda-2.7.0.1 · Agda.Utils.IO.UTF8
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
ModuleAgda-2.7.0.1Haskell2010
Text IO using the UTF8 character encoding.
A kind of exception that can be thrown by readTextFile and readFile.
Show ReadExceptionDefined in Agda-2.7.0.1 · Agda.Utils.IO.UTF8Exception ReadExceptionDefined in Agda-2.7.0.1 · Agda.Utils.IO.UTF8Reads a UTF8-encoded text file and converts many character sequences which may be interpreted as line or paragraph separators into 'n'.
If the file cannot be decoded, then a ReadException is raised.
Reads a UTF8-encoded text file and converts many character sequences which may be interpreted as line or paragraph separators into 'n'.
If the file cannot be decoded, then a ReadException is raised.
Writes a UTF8-encoded text file. The native convention for line endings is used.
Writes a UTF8-encoded text file. The native convention for line endings is used.