Primitive recursion
how can I define a "simplify" function using primitive recursion?
simplify :: Expr β Expr
...
simplify Simplify the expression using basic arithmetic, for example. simplify (Plus (Var "x") (Const 0)) = Var "x"
0
user41000
source
to share
No one has answered this question yet
See similar questions:
1
or similar:
1516
268
75
25
6
6
3
2
2
-4