import R from 'ramda';
import spaceCase from './space-case.js';
import uncapitalize from './uncapitalize.js';

// a -> a
const snakeCase = R.compose(
  uncapitalize,
  R.join('_'),
  R.split(' '),
  spaceCase
);

export default snakeCase;

@@ -16,16 +16,57 @@
 ramda';%0A
+import compose from './util/compose.js';%0A
 import s
@@ -173,18 +173,16 @@
 eCase = 
-R.
 compose(

Refactor snakeCase function to use custom compose function