On Saturday, April 12, 2014 7:50:16 PM UTC-4, Peter Simon wrote:
>
> How about leaving readline as it now is and defining readln() to be 
> chomp(readline())?
>

That works, and it's backwards compatible.  It's a little confusing, 
though, because there's 2 read a line functions and which one to use isn't 
clear from the name. It definitely satisfies compactness; the shorter one 
is used for the most common task; read a line ignore the delimiter.

Reply via email to