4 ms·
To start conversation in OCaml, let is_palindrome str = str = String.rev str ;; (function is_palindrome will return true or false for input str )
by gtycomb 10y 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 )