Type Safe Ramda Functions
See original GitHub issueAs mentioned in #141, let’s start try to get a list of typesafe functions we want from Ramda. I’ve put together a list of way too many functions that we can whittle down here as people chip in with their views.
-
R.append
-
R.concat
-
R.contains
-
R.equals
-
R.filter
-
R.fromPairs
-
R.keys
-
R.length
-
R.max
-
R.mean
-
R.median
-
R.merge
-
R.mergeAll
-
R.min
- <del>
R.modulo
</del> -
R.omit
-
R.prepend
-
R.product
-
R.range
-
R.reduce
-
R.reject
-
R.reverse
-
R.scan
-
R.split
-
R.sum
-
R.toPairs
-
R.trim
-
R.values
-
R.when
-
R.unless
-
R.zip
-
R.zipObj
Something I’m not clear on though is how we deal with functions that accept both arrays and string. Do we need a new type?
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (15 by maintainers)
Top Results From Across the Web
Ramda Documentation
Ramda emphasizes a purer functional style. Immutability and side-effect free functions are at the heart of its design philosophy. This can help you...
Read more >Seeking a Type Safe Sanctuary in JavaScript - Todd Brown
But we can get type safety (or certainty) through an alternative technique - guarding your functions. There are a few tutorials around the ......
Read more >Writing a type-safe prop function in Typescript
In this post I will be going through how to write a type safe function which takes a path and an object and...
Read more >Learn how to create types for curry and Ramda
At the end of this guide, you will know how to create powerful types like: In fact, Ramda does have some kind of...
Read more >Curried function seems not typesafe with Typescript and ...
As I said in the comments,. From Ramda's point of view, that's not an error. You just get back the function.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@davidchambers #454 poof
Because sanctuary-int provides both
rem
andmod
. 😃