Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to static functions #49

Open
jasonkuhrt opened this issue Jun 22, 2013 · 3 comments
Open

Access to static functions #49

jasonkuhrt opened this issue Jun 22, 2013 · 3 comments

Comments

@jasonkuhrt
Copy link

Static functions are readily composable in functional contexts.

var camelized = _.map([...], S.camelize);

I assume the rationale and use-cases are obvious so won't explain at length. string.js just needs to implement the same pattern as found in lodash, underscore:

1.   _.map(...)
2.   _(...).map

So to reiterate currently string.js only supports ^ 2 but 1 is desirable and there is no reason the styles cannot co-exist.

@jprichardson
Copy link
Owner

Yeah, this is a good idea.

@jprichardson
Copy link
Owner

I still think this is a great idea... would love a PR on this if you want it...

@jprichardson jprichardson removed this from the 2.0.0 milestone Sep 2, 2014
@jasonkuhrt
Copy link
Author

String.js is not really on my radar anymore. Feel free to close or whatever.

@az7arul az7arul added the 4 label Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants