MCPcopy Create free account
hub / github.com/apache/datafusion / lambda

Function lambda

datafusion/expr/src/expr_fn.rs:724–729  ·  view source on GitHub ↗

Create a lambda expression

(params: impl IntoIterator<Item = impl Into<String>>, body: Expr)

Source from the content-addressed store, hash-verified

722
723/// Create a lambda expression
724pub fn lambda(params: impl IntoIterator<Item = impl Into<String>>, body: Expr) -> Expr {
725 Expr::Lambda(Lambda::new(
726 params.into_iter().map(Into::into).collect(),
727 body,
728 ))
729}
730
731/// Create an unresolved lambda variable expression
732///

Callers

nothing calls this directly

Calls 5

LambdaClass · 0.85
newFunction · 0.85
collectMethod · 0.80
mapMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…