Using Variants

In some cases, having to remember to put Job:: in front of all the variants can be annoying. If you want, you can use the use statement to bring the variants into scope. For example, we can rewrite the main function from the exercise above as: