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

Ramda support #34

Closed
sotojuan opened this issue Aug 31, 2015 · 9 comments
Closed

Ramda support #34

sotojuan opened this issue Aug 31, 2015 · 9 comments

Comments

@sotojuan
Copy link

Support for ramda would be great. I don't know anything about vim syntax coloring, otherwise I'd help (might look into it though). However, it should be very similar to lodash—if not exactly the same.

@othree
Copy link
Owner

othree commented Sep 8, 2015

Here are some infos about what you can help.

@Shou
Copy link

Shou commented May 3, 2016

The global variable in Ramda is R. Here are the functions by category:

Function
__ addIndex always ap apply applySpec binary bind call comparator compose composeK composeP construct constructN converge curry curryN empty F flip identity invoker juxt lift liftN memoize nAry nthArg of once partial partialRight pipe pipeK pipeP T tap tryCatch unapply unary uncurryN useWith wrap

Math
add dec divide inc mathMod mean median modulo multiply negate product subtract sum

List
adjust all allUniq any aperture append chain concat contains drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith

Logic
allPass and anyPass both complement cond defaultTo either ifElse isEmpty not or pathSatisfies propSatisfies unless until when

Object
assoc assocPath clone dissoc dissocPath eqProps evolve has hasIn invert invertObj keys keysIn lens lensIndex lensPath lensProp mapObjIndexed merge mergeWith mergeWithKey objOf omit over path pathOr pick pickAll pickBy project prop propOr props set toPairs toPairsIn values valuesIn view where whereEq

Relation
clamp countBy difference differenceWith eqBy equals gt gte identical intersection intersectionWith lt lte max maxBy min minBy pathEq propEq sortBy symmetricDifference symmetricDifferenceWith union unionWith

Type
is isArrayLike isNil propIs type

String
match replace split test toLower toString toUpper trim

Hope this helps!

@othree
Copy link
Owner

othree commented May 3, 2016

Great, I will take some time to complete this~

@othree
Copy link
Owner

othree commented May 3, 2016

I will assume this is 0.21.0

@Shou
Copy link

Shou commented May 3, 2016

Yeah it's from 0.21.0

@othree
Copy link
Owner

othree commented May 4, 2016

@Shou First reversion to support Ramda is ready, could you take a try to see is there any issue?

@Shou Shou mentioned this issue May 4, 2016
@Shou
Copy link

Shou commented May 4, 2016

Can confirm that it works with 13f752f!

@sotojuan
Copy link
Author

Can we close this now then? @Shou

@sotojuan sotojuan changed the title ramda support Ramda support Jun 11, 2016
@Shou
Copy link

Shou commented Jun 11, 2016

Yup, it's been working fine here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants