The standard IO input functions using strict IO.
Strict Handle IO
hdl returns the list of characters
corresponding to the unread portion of the channel or file managed
hdl, which is immediate closed.
Items are read strictly from the input Handle.
This operation may fail with:
isEOFErrorif the end of file has been reached.