PythoLambda

From Esolang
Jump to navigation Jump to search

A language adding one small element to Python: You can use the ƛ (lambda) character in place of the Python function lambda. Created by User:CodeMaster111.

Example syntax

ƛx,y:<insert lambda function here>

Interpreters

Python 3

def pytholambda(code):
    exec(code.replace("ƛ", "lambda "))

Usage

Very good in code golf, as the ƛ character is only two bytes while lambda  is 7 bytes, including the space.

This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.