How can you read Text from standard input in Unison?
How can you read Text from standard input in Unison?
You can read Text with io.console.getLine; from the doc example:
use Text ++
printLine "Important question: what's your favorite type of pie?"
printLine "> "
pie = !getLine
printLine (pie ++ "!? No way, me too!!! ")
And as you can see in the example, you can print a line of Text with io.console.printLine.