Q:

No module named ‘T’ is imported---but I just imported it

This seems as simple as possible:
import Data.Text as T

let x = "test"
T.putStrLn x

But I get:
<interactive>:1:1: error:
    Not in scope: ‘T.putStrLn’
    No module named ‘T’ is imported.

Why is T not imported?  Why is Data.Text not imported as T?

A:

putStrLn is not provided by Data.Text, but Data.Text.IO.
The error message is actually confusing.
I'll check if the problem is reported.

