Re:Try Idris
by gnuvince on Sunday April 13, 2014 @02:18PM
(#7582240)
It's the traditional, inductive definition of natural numbers. You give a base case (Z = Zero) and an inductive case (S Nat = Successor of Nat). So Z is a natural number, S Z is also a natural number and corresponds to 1, S (S Z) corresponds to 2, etc.
[ Parent
| on HN ]
There are no comments on this comment yet.