The following program partially decides A.
test(p) x = p(1) if x == yes answer yes else loop forever endif
It is easy to see that test stops on input x if and only if p answers yes on input 1.