Last active
September 18, 2019 16:51
-
-
Save krzysztofczernek/33006e1367dcd14bf45f265e0a5f004f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const selectedNames = users => | |
R.pipe( | |
R.map(R.unary(parseInt)), | |
R.map(userId => users[userId]), | |
R.map(R.prop('name')) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment