// Process arguments (std/os, issue #179): argv holds at least the // program's name, and it is not empty. import std/io import std/list import std/os import std/string pub fn main :: -> () / { let argv = os.args () io.println (show (list.length argv >= 1)) match argv { [name, ..] -> io.println (show (string.length name > 0)) , [] -> io.println "unreachable" } } //> True //> True