- all_hosts =
- Hosts $ (get_hosts $ hosts cfg) ++ (get_hosts $ OC.hosts opt_cfg)
- all_lists =
- Lists $ (get_lists $ lists cfg) ++ (get_lists $ OC.lists opt_cfg)
+ hs = OC.merge_monoid (hosts cfg) (OC.hosts opt_cfg)
+ ls = OC.merge_monoid (lists cfg) (OC.lists opt_cfg)
+ t = OC.merge_maybe (threshold cfg) (OC.threshold opt_cfg)