#!vyder let println = import("std-fmt").println; let is_prime = fn?(num) { if (num < 0) { return ~"cannot check negative numbers"; }; if (num == 0 or num == 1) { return false; }; if (num == 2) { return true; }; for (i in 2..num) { if (num % i == 0) { return false; }; }; -> true; }; for (num in 0..100) { if (is_prime(num)) { println("{} is a prime number!", num); }; };