Skip to main content

A lambda replacement which is shorter, pickle-able, and cooler.

Project description

LambdaX is a composition class. It’s a lambda replacement which is shorter, pickle-able, and cooler.

LambdaX has two main features:

It acts as an identity function ( so X(object) == object, etc. ) When performing operations on it, it returns a new class that acts as a corresponding function.

>>> map( X+2, [1, 2, 3] )
[3, 4, 5]
>>> head, tail = X[0], X[1:]
>>> (head(tail))([1,2,3])

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page