Explorar el Código

Implement function ispal

DricomDragon hace 5 años
padre
commit
d7a0019652
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hpal.hs

+ 1 - 1
hpal.hs

@@ -1,6 +1,6 @@
 r _ = 1
 
-ispal n = True
+ispal n = r n == n
 
 hpal n = 
 	if ispal n