how to elegantly concatenate an Option[List] to a List?
To concatenate an Option with a List you can just do option.toList ++ list
To concatenate an Option[List[A]]
with a List[A]
optionOfList.toList.flatten ++ list
The basic idea being you can always convert an option to a list of 0 or one element which makes it easy to combine them with lists in different ways.