Parcourir la source

Implement function ispal

DricomDragon il y a 5 ans
Parent
commit
d7a0019652
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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