
27 May
2010
27 May
'10
7:15 p.m.
On May 27, 2010, at 19:07 , Brandon S. Allbery KF8NH wrote:
reordered_cons :: (t -> (t1 -> t2)) -> t -> (t1 -> t2) churchedNumeral :: (t -> t ) -> t -> t
t unifies with (t1 -> t2), giving us a Church numeral made up of (t1,t2). (I think.)
Which also explains why that record representation isn't used: it's as inefficient as Peano numbers are. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH