Anonymous user
Copy stdin to stdout: Difference between revisions
added ocaml
(Added Rust) |
(added ocaml) |
||
Line 103:
%-----------------------------------------------------------------------------%
</lang>
=={{Header|OCaml}}==
<lang ocaml>try
while true do
output_char stdout (input_char stdin)
done
with End_of_file -> ()</lang>
=={{Header|Perl}}==
<lang perl>
|