fromMaybe -package:xlsx-tabular -package:opaleye package:strict

Given a default value and a Maybe, yield the default value if the Maybe argument is Nothing and extract the value out of the Just otherwise.