Explorar o código

Implement function ispal

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
d7a0019652
Modificáronse 1 ficheiros con 1 adicións e 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