mdlineFramework f d = d{ cmdlineFrameworks = f : cmdlineFrameworks d}

ad
addCmdlineFramework f d = d{ cmdlineFrameworks = f : cmdlineFrameworks d}
addCmdlineFramework f d = d{ cmdlineFrameworks = f : cmdlineFrameworks d}