Use an ADT for commandline options instead of a record.
Use an ADT for commandline options instead of a record.

Since Repl/Script are mutually exclusive, represent them by different
alternatives.  That way a script can't be accidentally provided to the
repl.

write-you-a-scheme-v2/scheme