old_contents: import R from 'ramda';
  import compose from './util/compose.js';
  import trim from './trim.js';
  
  // a -> a
  const clean = compose(
    trim,
    R.replace(/\s{2}/, '')
  );
  
  export default clean
  
new_contents: import compose from './util/compose.js';
  import replace from './util/replace.js';
  import trim from './trim.js';
  
  // a -> a
  const clean = compose(
    trim,
    replace(/\s{2}/, '')
  );
  
  export default clean
  
subject: Refactor clean function to use custom replace function