News for hackers. Stuff that matters.
Re:Haskell for Web Developers by dllthomas on Friday July 26, 2013 @03:00PM (#6109860)
FWIW, I tend to prefer using modify rather than set wherever that makes sense, which would make this particular bug harder to express.
Re:Haskell for Web Developers by tel on Friday July 26, 2013 @03:35PM (#6110050)
Yeah. I didn't follow your point since I didn't feel like this was a terrifically idiomatic example. I felt like the bug was equally easy to catch in either expression.