
10 Nov
2007
10 Nov
'07
4:44 a.m.
On Fri, 9 Nov 2007, Derek Elkins wrote:
Pointless frobbing but is there any issue with setting the echo to False when it is already False? Otherwise not checking seems to both simpler and quicker (not that performance matters), i.e. getpasswd h = do wasEnabled <- hGetEcho h hSetEcho h False str <- hGetLine h hSetEcho wasEnabled return str
Should one enclose this in 'bracket'?