Commits

Anonymous committed 3e6a4b0

Reduce amount of Perl in the Dipple by... converting it to Rust!

Comments (0)

Files changed (2)

perl/numbers

-#!/usr/bin/perl
-$|=1;
-$c = 1;
-while (1) {
-  print "$c\n";
-  $c = $c + 1;
-}
-
-
+fn main() {
+    let mut x: u64 = 0;
+    loop {
+        io::println(fmt!("%?", x));
+        io::stdout().flush();
+        x += 1;
+    }
+}