News for hackers. Stuff that matters.
Re:Church Numerals in C++ (and Haskell) by guano___ on Saturday April 24, 2010 @04:17PM (#1291492)
This is pointless but fun to do,

  church = (foldr (.) id .).replicate
  unchurch = ($ 0).($ (+1))

There are no comments on this comment yet.