Tail recursive OCaml list functions

  • reverse
  • length
  • range
  • replicate
  • take
  • drop
  • sum