You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could probably add From implementation for the Expression type that would convert bool, String, &str, etc. into a Constant or Literal expression. Using generics, we could then make methods like binary_or work with any type that converts into an Expression. This would simplify building expressions in code, but could lead to confusion if we overdo it. I'm not quite sure what route to take here, but I'm leaving this here as a suggestion.
The text was updated successfully, but these errors were encountered:
We could probably add
From
implementation for theExpression
type that would convertbool
,String
,&str
, etc. into aConstant
orLiteral
expression. Using generics, we could then make methods likebinary_or
work with any type that converts into anExpression
. This would simplify building expressions in code, but could lead to confusion if we overdo it. I'm not quite sure what route to take here, but I'm leaving this here as a suggestion.The text was updated successfully, but these errors were encountered: