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 a simple function to compute a power
DricomDragon
5 anni fa
parent
e27b68d87c
commit
111e3c85f2
1 ha cambiato i file
con
3 aggiunte
e
0 eliminazioni
Visualizzazione separata
Mostra Diff Stats
3
0
mypower.hs
+ 3
- 0
mypower.hs
Vedi File
@@ -0,0 +1,3 @@
+e1 x n = case n of
+ 0 -> 1
+ _ -> x * e1 x (n - 1)