Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Lambda

Guides

  • Guide

Symbols

  • BetaReduce
  • BetaReductions
  • ColorizeLambda
  • EnumerateLambdas
  • EtaReduce
  • EvalLambda
  • FunctionLambda
  • LambdaCombinator
  • LambdaDiagram
  • LambdaFunction
  • RandomLambda
Wolfram`Lambda`
EnumerateLambdas
​
EnumerateLambdas
[depth,length]
enumerate all lambda expressions up-to given
depth
and
length
.
​
Examples  
(1)
Basic Examples  
(1)
Enumerate all lambda expression up-to depth 2 and length 2:
In[1]:=
EnumerateLambdas
[2,2]
Out[1]=
{λ.[1],λ.[λ.[1]],λ.[λ.[2]],λ.[λ.[1[1]]],λ.[λ.[1[2]]],λ.[λ.[2[1]]],λ.[λ.[2[2]]],λ.[1[1]],λ.[1[λ.[1]]],λ.[1[λ.[2]]],λ.[1[λ.[1[1]]]],λ.[1[λ.[1[2]]]],λ.[1[λ.[2[1]]]],λ.[1[λ.[2[2]]]],λ.[λ.[1][1]],λ.[λ.[1][λ.[1]]],λ.[λ.[1][λ.[2]]],λ.[λ.[1][λ.[1[1]]]],λ.[λ.[1][λ.[1[2]]]],λ.[λ.[1][λ.[2[1]]]],λ.[λ.[1][λ.[2[2]]]],λ.[λ.[2][1]],λ.[λ.[2][λ.[1]]],λ.[λ.[2][λ.[2]]],λ.[λ.[2][λ.[1[1]]]],λ.[λ.[2][λ.[1[2]]]],λ.[λ.[2][λ.[2[1]]]],λ.[λ.[2][λ.[2[2]]]],λ.[λ.[1[1]][1]],λ.[λ.[1[1]][λ.[1]]],λ.[λ.[1[1]][λ.[2]]],λ.[λ.[1[1]][λ.[1[1]]]],λ.[λ.[1[1]][λ.[1[2]]]],λ.[λ.[1[1]][λ.[2[1]]]],λ.[λ.[1[1]][λ.[2[2]]]],λ.[λ.[1[2]][1]],λ.[λ.[1[2]][λ.[1]]],λ.[λ.[1[2]][λ.[2]]],λ.[λ.[1[2]][λ.[1[1]]]],λ.[λ.[1[2]][λ.[1[2]]]],λ.[λ.[1[2]][λ.[2[1]]]],λ.[λ.[1[2]][λ.[2[2]]]],λ.[λ.[2[1]][1]],λ.[λ.[2[1]][λ.[1]]],λ.[λ.[2[1]][λ.[2]]],λ.[λ.[2[1]][λ.[1[1]]]],λ.[λ.[2[1]][λ.[1[2]]]],λ.[λ.[2[1]][λ.[2[1]]]],λ.[λ.[2[1]][λ.[2[2]]]],λ.[λ.[2[2]][1]],λ.[λ.[2[2]][λ.[1]]],λ.[λ.[2[2]][λ.[2]]],λ.[λ.[2[2]][λ.[1[1]]]],λ.[λ.[2[2]][λ.[1[2]]]],λ.[λ.[2[2]][λ.[2[1]]]],λ.[λ.[2[2]][λ.[2[2]]]]}
SeeAlso
RandomLambda
RelatedGuides
▪
Guide
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com