Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 393 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 393 Bytes

lamderp

Simple easy python lambda DSL

Usage

Lambderp is very easy to use, and models small lambda functions easily.

from lamderp import _

identity = _
even = filter(_ % 2 == 0, range(50))
odd = filter(_ % 2 == 1, range(50))

square = _ ** 2

Install

pip install lamderp

Why

Python lambda syntax is ugly and makes functional programming painful.