Go backward to Examples Go up to Top Go forward to Evaluation of Equations |
More convenient form of specification
add(m,n) = m+n
duplicate(r) = (r,r)
which(m) =
cases m of
isB(b) => isbool isN(n) => isnum end
singleton(n) = {n}
no equational definition (domain empty)!
Equations are just function representations!