asd-xiv / m

Point free style, functional library for Javascript with focus on object arrays.
https://asd-xiv.github.io/m/
MIT License
4 stars 1 forks source link

Adds compact #3

Closed dgilperez closed 3 years ago

dgilperez commented 3 years ago

Compact is heavily inspired by Ruby / Rails counterpart, that supports both arrays and hashes.

I find it one most useful when dealing with real world data arrays and hashes. I made it ignore other types.

Let me know what do you think or if you need any changes on the code.

dgilperez commented 3 years ago

Thanks for the quick review, all changes added.

andreidmt commented 3 years ago

Looks good, there's just the curry issue mentioned here and it's ready.

dgilperez commented 3 years ago

Done!

andreidmt commented 3 years ago

:tada: This PR is included in version 5.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dgilperez commented 3 years ago

Thanks! 🍻