actually use refactored method (oops)
create a monoid instance for Monoid a => Monoid (IO a) so that PromptSegments of IO (Maybe String) can be treated as Monoids