Skip to content
An Implementation of Multi-Line Anonymous Functions in Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
example.py
mu.py

README.md

Mu

An Implementation of Multi-Line Anonymous Functions in Python

  • Written in pure Python 3.
  • Importable as a module.

File Notes

  • The file containing the the tool itself is mu.py.
  • The file example.py contains some use cases.

Features

  • It's a lot like Python's lambda construct.
  • Works with map, filter, and reduce.
  • Multiple lines are allowed in a function.
  • Constructs are fully supported, AFAIK.

Usage

  • View example.py for documentation and examples.
  • Known quirks are also listed in example.py.

Name

  • Can you figure out why this is named Mu?
  • Look at the Greek alphabet for a hint.
You can’t perform that action at this time.