Fix opposite_eq method.

Simplify method in Simplify trait.

Fix distributive law.

Response for the simplify endpoint.

HTTP client.

camelCase and SCREAMING_SNAKE_CASE for struct and enum
This commit is contained in:
Martin Berg Alstad
2024-06-06 23:53:30 +02:00
parent c4393e94bf
commit 9cb0fa0a59
7 changed files with 114 additions and 21 deletions

8
http/common.js Normal file
View File

@ -0,0 +1,8 @@
/**
* Encode the given string as a URI component, and set the request variable "expression" to the result.
* @param {string} expression
* @returns {void}
*/
export function expression(expression) {
request.variables.set("expression", encodeURIComponent(expression))
}