News for hackers. Stuff that matters.
Re:Functional Programming Doesn’t Work (and what to do about... by psygnisfive on Tuesday December 29, 2009 @11:00PM (#1021880)
You could make the whole 'a > 0 => increment' thing even cleaner than the first example:

  let a = (if a > 0 then a + 1 else a)
      in #something or other

There are no comments on this comment yet.