selfrefactor / rambdax

Extended version of Rambda
https://selfrefactor.github.io/rambdax
MIT License
221 stars 26 forks source link

Utility Request: R.toUpcase (ie: Capitalize) #78

Closed panoply closed 2 years ago

panoply commented 2 years ago

Firstly, thanks for the wonderful library and your efforts here. It is truly great stuff.

Would be nice to have a R.toUpcase utility for capitalizing the first letter of a string value, eg: string to String. I personally would love to have string-fn available within Rambdax opposed to including it as another dependency and given this is an extendable variation of Rambda, it feels rather fitting imo. titleCase could be appropriated for this as such.

selfrefactor commented 2 years ago

That is a good idea. I'll keep you posted with updates.

selfrefactor commented 2 years ago

It is not that easy to implement considering the current workflow, which is already complex enough. I will close the ticket, but I thank you for bringing this up.