I'm trying to define the logical operation exclusive or as a two-variable function. I can't use constants, type annotations or if-then-else. I believe I'm supposed to do it by using logic operators, but am lost on how I'm supposed to write out a function just using those! So far I have
fun xor(a,b) = a orelse b andalso not(a andalso b).
How am I supposed to return a true value from this point?