If I want to use readFile
from Data.Text.IO
, but there's already a readFile
in the Prelude, how do I import it, so that it doesn't cause the ambiguity error?
I have a script that just says import Data.Text.IO
and then later uses readFile
, and I'm testing it in ghci
using :load
, but it complains about ambiguous function calls.