Handle compileOnly = True.

If we evaluate something with compileOnly = True, then there will be no run
result, only a compile result. Therefore, compile and run should both be Maybe.