This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Create data Nat
Handle an integer with Peano arithmetic
DricomDragon
5 years ago
parent
0aa2aebfc3
commit
e1135c8da8
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
peano.hs
+ 2
- 0
peano.hs
View File
@@
-0
,
0
+
1
,
2
@@
+
data
Nat
=
Zero
|
Succ
Nat
+