All Projects → jtomschroeder → Lambda

jtomschroeder / Lambda

Licence: mit
λ → C++ library for functional programming

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Lambda

Opal
Simple and powerful programming language with type inference
Stars: ✭ 20 (-47.37%)
Mutual labels:  functional-programming
Flawless
WIP Delightful, purely functional testing no-framework. Don't even try to use it at work!
Stars: ✭ 33 (-13.16%)
Mutual labels:  functional-programming
Imagene
A General Purpose Image Manipulation Tool
Stars: ✭ 36 (-5.26%)
Mutual labels:  functional-programming
Enum Fp
Functional Enum type / Sum type for javascript with simple pattern matching
Stars: ✭ 27 (-28.95%)
Mutual labels:  functional-programming
Oqaml
An OCaml based implementation of a Quil QVM
Stars: ✭ 31 (-18.42%)
Mutual labels:  functional-programming
Swift Overture
🎼 A library for function composition.
Stars: ✭ 968 (+2447.37%)
Mutual labels:  functional-programming
Bugz
🐛 Composable User Agent Detection using Ramda
Stars: ✭ 15 (-60.53%)
Mutual labels:  functional-programming
Safedom
🔫 safedom is a safe way to you manipulate dom using a purer functional style.
Stars: ✭ 37 (-2.63%)
Mutual labels:  functional-programming
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-18.42%)
Mutual labels:  functional-programming
Stm4cats
STM monad for cats-effect
Stars: ✭ 35 (-7.89%)
Mutual labels:  functional-programming
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (-23.68%)
Mutual labels:  functional-programming
Docker Iocaml Datascience
Dockerfile of Jupyter (IPython notebook) and IOCaml (OCaml kernel) with libraries for data science and machine learning
Stars: ✭ 30 (-21.05%)
Mutual labels:  functional-programming
Shell Functools
Functional programming tools for the shell
Stars: ✭ 971 (+2455.26%)
Mutual labels:  functional-programming
Facsimile
Facsimile Simulation Library
Stars: ✭ 20 (-47.37%)
Mutual labels:  functional-programming
Corsair
Corsair using RxJS, Immutable.js and WebGL/three.js
Stars: ✭ 36 (-5.26%)
Mutual labels:  functional-programming
Mori Ext
Function bind syntax wrappers for mori
Stars: ✭ 15 (-60.53%)
Mutual labels:  functional-programming
Ulmus
A functional-reactive style programming library for Clojure(script)
Stars: ✭ 33 (-13.16%)
Mutual labels:  functional-programming
Purefun
Functional Programming library for Java
Stars: ✭ 37 (-2.63%)
Mutual labels:  functional-programming
Fauxgaux
⛳️ Functional Go
Stars: ✭ 36 (-5.26%)
Mutual labels:  functional-programming
Rexrex
🦖 Composable JavaScript regular expressions
Stars: ✭ 34 (-10.53%)
Mutual labels:  functional-programming

λ

lambda is a functional library for C++

Build Status

Usage

using namespace lambda;

let multipleOf = curry(flip([](auto x, auto y) { return x % y == 0; }));
let even = multipleOf(2);

// ...

using namespace lambda::streams;

// Find the sum of all the multiples of 3 or 5 below 1000.
ints(0, 1000) | filter(multipleOf(3) || multipleOf(5)) | sum;

About

lambda brings the power of currying and other functional paradigms to C++, in a simple library. The goal: making functional programming in C++ straight-forward and intuitive.

Features

  • currying
  • function composition
  • partial application (simplified functional bind)
  • streams
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].