fn isPalindrome s = ( local reversed = "" for i in s.count to 1 by -1 do reversed += s[i] return reversed == s )