Skip to content

Instantly share code, notes, and snippets.

@adilakhter
Created February 3, 2013 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adilakhter/4702943 to your computer and use it in GitHub Desktop.
Save adilakhter/4702943 to your computer and use it in GitHub Desktop.
checking palindrom
let ispalindrom (x:int):bool =
let s = x.ToString()
s = (s |> (fun x -> new string(x.ToCharArray() |> Array.rev)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment