module Algebra:sig
..end
typevalue =
int
typevariable =
string
type
expression =
| |
Value of |
| |
Variable of |
| |
Addition of |
| |
Multiplication of |
| |
Exponentiation of |
val string_of_expression : expression -> variable
val simplify : expression -> expression
val deriv : variable -> expression -> expression