verse.parser.parser.Lambda

class verse.parser.parser.Lambda(args: List[LambdaArg], body: expr | None, asserts: List[_Assert])

Bases: object

A closure. Comes from either a lambda or a `def`ed function

Methods

apply

empty

from_ast

__init__(args: List[LambdaArg], body: expr | None, asserts: List[_Assert]) None