I'm trying to do this: Define the function evenOutcome
, which applying it with an n
number and an m
number, returns true if the result of raising n
to the number m
is even.
Note: Solve it using partial application and composition.
I did this: evenOutcome m n = even (m ^ n)
, which works, but does not satisfy the composition and partial application tasks.
To satisfy the tasks I did this: evenOutcome = even.(^)
,
which is clearly wrong.