fn printLogic a b = ( format "a and b is %\n" (a and b) format "a or b is %\n" (a or b) format "not a is %\n" (not a) )