Spinning rod animation/Text: Difference between revisions

(→‎{{header|Ruby}}: Changed charset to Raku's)
(→‎OCaml: add)
Line 1,139:
100 NEXT
110 GOTO 60</syntaxhighlight>
 
=={{header|OCaml}}==
<syntaxhighlight lang="ocaml">let rec sym = '-' :: '\\' :: '|' :: '/' :: sym
 
let () = List.iter (fun c -> Printf.printf "%c%!\b" c; Unix.sleepf 0.25) sym</syntaxhighlight>
 
=={{header|Perl}}==
559

edits