Skip to content

Instantly share code, notes, and snippets.

@dinocarl
Created May 11, 2017 01:39
Show Gist options
  • Save dinocarl/3099909104a0121411f303bf2eaee4c3 to your computer and use it in GitHub Desktop.
Save dinocarl/3099909104a0121411f303bf2eaee4c3 to your computer and use it in GitHub Desktop.
R.compose(
R.join(''),
R.flatten
)([1, 2, [3, 4], 5, [6, [7, 8, [9, [10, 11], 12]]]]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment