We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calculate
e.g.
calculate(vec![Num(2.0), Op(Mul), Num(2.0), Op(Add), Id("a")], _) -> vec![Num(4.0), Op(Add), Id("a")];
The text was updated successfully, but these errors were encountered:
Result<Vec<Token>, CalcErr>
Could also possibly add a combine_like_terms function (calculate could call this if the expression contains an unassigned Id)
combine_like_terms
Id
Sorry, something went wrong.
No branches or pull requests
e.g.
The text was updated successfully, but these errors were encountered: