News for hackers. Stuff that matters.
Re:When Haskell is Faster than C by jacquesm on Sunday January 20, 2013 @09:54PM (#5089569)
Hey Andrew,

Ok, I looked at your code. What you really should do (before coding up the solution) is to look at the problem specification. Other than that I like the 'direct' approach, it isn't quite as fast as what I cooked up but yours is a lot shorter.

Re:When Haskell is Faster than C by ay on Monday January 21, 2013 @11:23AM (#5092101)
Thanks! yes, this goes to show the perils of coding after a 12h work day on Friday :-). This affected the use of fgets() I/O (I understood you have to call the line-buffered routines based on their description)

Enjoyed reading your code. Beautiful. Thanks!