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

Comments

Projects
None yet
3 participants
@jasonkuhrt

jasonkuhrt commented Jun 22, 2013

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

This comment has been minimized.

Show comment
Hide comment
@jprichardson

jprichardson Jun 24, 2013

Owner

Yeah, this is a good idea.

Owner

jprichardson commented Jun 24, 2013

Yeah, this is a good idea.

@jprichardson

This comment has been minimized.

Show comment
Hide comment
@jprichardson

jprichardson Sep 2, 2014

Owner

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

Owner

jprichardson commented Sep 2, 2014

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

@jprichardson jprichardson removed the backlog label Sep 2, 2014

@jasonkuhrt

This comment has been minimized.

Show comment
Hide comment
@jasonkuhrt

jasonkuhrt Sep 2, 2014

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

jasonkuhrt commented Sep 2, 2014

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