21 lines
261 B
Plaintext
21 lines
261 B
Plaintext
use "std"
|
|
use "io"
|
|
use "str"
|
|
|
|
use "./calc"
|
|
|
|
io.read_all "epic_file" -> str.sort_lines -> io.write_all "output"
|
|
|
|
std.println "Counting to 10:"
|
|
for let i in 0..=10 {
|
|
std.printf "%i" i
|
|
if i == 10 {
|
|
std.println "!"
|
|
} else {
|
|
std.printf "... "
|
|
}
|
|
}
|
|
|
|
calc.run
|
|
|