diff options
author | Marvin Borner | 2023-03-05 16:28:58 +0100 |
---|---|---|
committer | Marvin Borner | 2023-03-05 16:28:58 +0100 |
commit | f5dc226df6ef8e5f257352409965603bbdaabd42 (patch) | |
tree | db9f656c9093df336c58f556139da01b4ca573c9 /samples/io/random.bruijn | |
parent | ca808bc09373f123514bf865a4518bebac3bbbc3 (diff) |
Made stdin and argument conversion lazy
Diffstat (limited to 'samples/io/random.bruijn')
-rw-r--r-- | samples/io/random.bruijn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/io/random.bruijn b/samples/io/random.bruijn new file mode 100644 index 0000000..ab23f91 --- /dev/null +++ b/samples/io/random.bruijn @@ -0,0 +1,6 @@ +# "cat /dev/random | bruijn random.bruijn" +# prints number between 0 and 255 - stdin laziness! + +:import std/Pair . + +main [^0] |