Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/weaming/math-fold

Bring fold in functional programming to CLI.
https://github.com/weaming/math-fold

cli fold functional-programming

Last synced: 3 days ago
JSON representation

Bring fold in functional programming to CLI.

Awesome Lists containing this project

README

        

# Math Fold

Bring **fold** in functional programming to CLI.

`pip3 install math-fold`

## Usage Example

```
$ cat r.txt | calculate 'lambda a, b: a+b+3'
82
$ cat r.txt | calculate 'min'
1
$ cat r.txt | calculate 'max'
10
$ cat r.txt | calculate 'mean'
9.001953125
```