This website works better with JavaScript
Home
Esplora
Aiuto
Accedi
CNI
/
HaskellCourse
Segui
3
Vota
0
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Sfoglia il codice sorgente
Create data Nat
Handle an integer with Peano arithmetic
DricomDragon
5 anni fa
parent
0aa2aebfc3
commit
e1135c8da8
1 ha cambiato i file
con
2 aggiunte
e
0 eliminazioni
Visualizzazione separata
Mostra Diff Stats
2
0
peano.hs
+ 2
- 0
peano.hs
Vedi File
@@ -0,0 +1,2 @@
+data Nat = Zero | Succ Nat
+