We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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 not detailed enough and needs to be expanded. Please help us by adding some more information.