All Projects → osteele → Functional Javascript

osteele / Functional Javascript

Licence: mit
Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (aka filter). It also defines functions such as curry, rcurry, and partial for partial function application; and compose, guard, and until for function-level programming.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Functional Javascript

Redash
Tiny functional programming suite for JavaScript.
Stars: ✭ 40 (-89.56%)
Mutual labels:  functional-programming, javascript-library
Awesome Fable
A curated list of useful Fable tutorials, libraries and software. Inspired by awesome list. Feel free to contribute.
Stars: ✭ 376 (-1.83%)
Mutual labels:  functional-programming
Qo
Qo - Query Object - Pattern matching and fluent querying in Ruby
Stars: ✭ 351 (-8.36%)
Mutual labels:  functional-programming
Foundations
Foundations of Functional Programming in Scala is a comprehensive, self-paced online course with no prerequisites, which helps you to become a confident, productive, and powerful functional Scala developer.
Stars: ✭ 366 (-4.44%)
Mutual labels:  functional-programming
Js Library Boilerplate Basic
Javascript Minimal Starter Boilerplate - Webpack 5 🚀, Babel 7, UMD, Unit Testing
Stars: ✭ 354 (-7.57%)
Mutual labels:  javascript-library
Radialmenu
A highly customizable radial menu that's very easy to setup.
Stars: ✭ 371 (-3.13%)
Mutual labels:  javascript-library
Swift Prelude
🎶 A collection of types and functions that enhance the Swift language.
Stars: ✭ 349 (-8.88%)
Mutual labels:  functional-programming
Java8 Cheatsheet
A Java 8+ Cheat Sheet for functional programming
Stars: ✭ 381 (-0.52%)
Mutual labels:  functional-programming
Kotlin Result
A multiplatform Result monad for modelling success or failure operations.
Stars: ✭ 369 (-3.66%)
Mutual labels:  functional-programming
Jsuites
jSuites is a collection of lightweight common required javascript web components. It is composed of fully responsive vanilla plugins to help you bring the best user experience to your projects, independent of the platform. Same JS codebase across different platforms.
Stars: ✭ 365 (-4.7%)
Mutual labels:  javascript-library
Fun Task
Abstraction for managing asynchronous code in JS
Stars: ✭ 363 (-5.22%)
Mutual labels:  functional-programming
Javascript Winwheel
Create spinning prize wheels on HTML canvas with Winwheel.js
Stars: ✭ 357 (-6.79%)
Mutual labels:  javascript-library
Meza
A Python toolkit for processing tabular data
Stars: ✭ 374 (-2.35%)
Mutual labels:  functional-programming
Language Ext
C# functional language extensions - a base class library for functional programming
Stars: ✭ 3,964 (+934.99%)
Mutual labels:  functional-programming
Lager
C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++
Stars: ✭ 379 (-1.04%)
Mutual labels:  functional-programming
Swift Validated
🛂 A result type that accumulates multiple errors.
Stars: ✭ 350 (-8.62%)
Mutual labels:  functional-programming
True Myth
A library for safer and smarter error- and "nothing"-handling in TypeScript.
Stars: ✭ 360 (-6.01%)
Mutual labels:  functional-programming
Fp Resources
Functional programming great resources
Stars: ✭ 369 (-3.66%)
Mutual labels:  functional-programming
Midiwriterjs
♬ A JavaScript library which provides an API for programmatically generating and creating expressive multi-track MIDI files and JSON objects.
Stars: ✭ 381 (-0.52%)
Mutual labels:  javascript-library
Enlighterjs
🔆 an open source syntax highlighter written in pure javascript
Stars: ✭ 379 (-1.04%)
Mutual labels:  javascript-library

Functional JavaScript (deprecated)

This code, from 2007, is deprecated. I'm keeping it available for historical interest.

Some of the ideas in this code and in its companion collections.js were used in Jeremy Ashkenas's Underscore.js, which in turn inspired Lodash. Use those instead.

CoffeeScript (aso by Jeremy Ashkenas) and ECMAScript 6 also include arrow functions and functional programming functions such as map. If you use these languages, or many other modern languages that compile into ECMAScript, you can do functional prorammming entirely within the language.

Thanks to everyone who has contributed, and to everyone who has thanked me over the years, thank you in turn.

Links

Original README

Functional defines higher-order methods and functions for functional and function-level programming. It also defines "string lambdas", that allow strings such as x+1 and x -> x+1 to be used in some contexts as functions.

It is licensed under the MIT License.

For more details, see http://osteele.com/sources/javascript/functional/.

Credits

  • Oliver Steele – original author
  • Dean Edwards – Array.slice suggestion
  • henrah – Function.lambda memoization
  • Raganwald – Rhino compatibility
  • Jesse Hallett – Spidermonkey shell compatibiilty
  • Florian Schäfer – allow leading and trailing spaces in expressions
  • Angus Croll – bug fix
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].