-
I have an I expected to be able to write something like Ok, use tap::Conv;
Func::lower(expr).conv::<SimpleExpr>().is_in(values) But it doesn't have I want to note that there's a bigger issue here. In the past, I had many other problems with the whole
But this seems unclear and unhelpful. Why is the latter "simple", when the former seems like a lower-level building block? Why is the "hepler" a separate type rather than a function? Why aren't all expressions usable in expression contexts, like the one in the title? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You may apply |
Beta Was this translation helpful? Give feedback.
-
It would be cool if we can write But the names |
Beta Was this translation helpful? Give feedback.
You may apply
Expr::expr
to a value of typeFunctionCall
. But I agree 👍, the API of custom functions is non-trivial at all.