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.
- Example:
>>> 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
LambdaX-0.2.zip
(3.6 kB
view details)
File details
Details for the file LambdaX-0.2.zip.
File metadata
- Download URL: LambdaX-0.2.zip
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
540544bb66fa1c63cd2550c9a976c7d9391969b6753fd8a64ad59a5f022dc44a
|
|
| MD5 |
38395d0dc7a5b3b95019a7eb0293a234
|
|
| BLAKE2b-256 |
fda426976b249dc6618ca1516b6dfb3729ec429c81dd9f5eb626757fa1dbb094
|