Test that the following functions bool -> bool -> bool are equal:
bool -> bool -> bool
let f (a:bool) = if a then id else not >> not let g (a:bool) (b:bool) = b
(Hint: Test that f(true) equals g(true) and that f(false) equals g(false), as functions.)
f(true)
g(true)
f(false)
g(false)
Log in to submit your work and track progress.