Stair-climbing puzzle: Difference between revisions
Content deleted Content added
add Ruby |
Mathematica |
||
Line 316:
(step.up ifelse step [:n-1] [:n+1])
end</lang>
=={{header|Mathematica}}==
<lang Mathematica>StepUp[] := If[!Step[], StepUp[]; StepUp[]]</lang>
=={{header|OCaml}}==
|