getLine is in a sense impure because its result value is not guaranteed to be the ... So in an I/O context, return "haha" will have a type of IO String.
確定! 回上一頁