Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




fun recLimit () =
  1 + recLimit ()
  handle _ => 0
 
val () = print (Int.toString (recLimit ()) ^ "\n")