Create a gist now

Instantly share code, notes, and snippets.

// Usage
func usage() -> Never {
print("Usage: \(appName) <list-of-positive-integers>")
exit(-1)
}
guard !arguments.isEmpty,
nums.count == arguments.count else { usage() }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment