My sincere apologies if this question sounds silly or has already been asked; what is the standard way to read in a text file in the same sense that readFile
does, except if the file is online?
I am of course given a URL as input, like the following example
https://dotnetperls-controls.googlecode.com/files/enable1.txt
What libraries do I import? Are there good references I can consult for this kind of web-based IO in Haskell?
*Please edit the tags as you see fit.