readLn package:constrained-categories

The readLn function combines getLine and readIO.