[Haskell-beginners] Read just one word from input

Brandon Allbery allbery.b at gmail.com
Sun Feb 26 23:33:19 CET 2012


On Sun, Feb 26, 2012 at 16:58, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Sun, Feb 26, 2012 at 13:05, Alexander Batischev <eual.jp at gmail.com>wrote:
>
>> getWord). That's how scanf() in C and 'cin >>' in C++ behave, and I'm
>>
> (polemic deleted)

Uh, belated disclaimer:  I've been saying for years that scanf() and
fscanf() should be banished from libc, or at minimum covered with severe
"don't use this.  really, DON'T USE THIS." warnings as with gets().

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120226/f711e3aa/attachment.htm>


More information about the Beginners mailing list