Replies: 1 comment
-
Yes. But there are plently of quirks, for example, PartialEq::eq require that the return value is A macro with a custom DSL is the only way to go. I myself am not an advocate of DSL, but I could accept a PR if someone came up with a brilliant design! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you considered implementing the +-* traits on simpleexpr and ident ? This way writing expressions might be more natural. Unfortunately == && || won't work.
Another option could be some macro:
expression!( Persons.Age + 2 > value(12))
Beta Was this translation helpful? Give feedback.
All reactions