Hacker News new | ask | show | jobs
by gtycomb 3673 days ago
To start conversation in OCaml,

let is_palindrome str = str = String.rev str ;;

(function is_palindrome will return true or false for input str )