Jump to content

Stair-climbing puzzle: Difference between revisions

added ocaml
(→‎Tcl: Added implementation)
(added ocaml)
Line 50:
true))
</lang>
 
=={{header|OCaml}}==
<lang ocaml>let rec step_up() =
if not(step())
then (step_up(); step_up())
;;</lang>
 
=={{header|Python}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.