The Driver has become overly complicated with the optional arguments and the way I implemented the processing.
A more streamlines approach would be to get the arguments at the beginning and then compute/process/print out what is indicated by the arguments.
And example is a boolean argument. At the moment I pattern match against a Try but it may be simplified in checking whether the argument exists (is a Success) rather than pattern matching.
To do
Simplify arguments processing, and specifically boolean arguments.
The Driver has become overly complicated with the optional arguments and the way I implemented the processing. A more streamlines approach would be to get the arguments at the beginning and then compute/process/print out what is indicated by the arguments.
And example is a boolean argument. At the moment I pattern match against a
Try
but it may be simplified in checking whether the argument exists (is aSuccess
) rather than pattern matching.To do
Simplify arguments processing, and specifically boolean arguments.