This website works better with JavaScript
Inicio
Explorar
Ayuda
Iniciar sesión
CNI
/
HaskellCourse
Seguir
3
Destacar
0
Fork
0
Archivos
Incidencias
0
Pull Requests
0
Wiki
Explorar el Código
Implement lesson example of guarded evaluation
DricomDragon
hace 5 años
padre
b6fae2771b
commit
09a3e8a526
Se han
modificado 1 ficheros
con
6 adiciones
y
0 borrados
Dividir vista
Mostrar estadísticas de diff
6
0
guard.hs
+ 6
- 0
guard.hs
Ver fichero
@@ -0,0 +1,6 @@
+-- Slide 10/78
+
+sign n
+ | n < 0 = -1
+ | n > 0 = 1
+ | otherwise = 0