Comments (1)
Hi @joaomilho. I'm a big fan of Ramda, and have recommended it using it with most--they work together quite well because both support Fantasy Land. However, @most/prelude
and Ramda have different priorities and goals. Ramda is a great end-user FP lib. @most/prelude
's top priority is to serve the internal needs of most.js and @most/...
packages. That way it can stay smaller, and provide maximum performance for the narrow use cases inside of most.
For example, @most/prelude
's map, reduce, etc. only need to support arrays, and not also iterables and transducers, as Ramda's do. Another example: @most/prelude
's public API is intentionally uncurried, to avoid the (small) overhead of calling curried functions in JS.
The size difference is also substantial. Ramda is larger than all of most.js, currently. I realize it's possible to do custom builds of Ramda, but prelude is less than 1kb gzipped currently.
-rw-r--r-- 1 brian staff 950 Apr 28 15:20 prelude.min.js.gz
-rw-r--r-- 1 brian wheel 11444 May 9 08:36 ramda.min.js.gz
-rw-r--r-- 1 brian staff 11252 May 6 07:28 most.min.js.gz
So, for now, we'll stick with prelude.
from prelude.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prelude.