The outside of the AC unit is merely a set of compressor coils there isn't anything that limits it to dumping heat into air. The coils get hot and that heat flows into air (aided by a fan). No reason the hotside can't be cooled w/ pool water. Air is commonly used because it is the cheapest (and least efficient) place to dump heat. If a heat exchanger carrying pool water flowed past the hotside of AC unit then the water would get warmer and the AC unit cooler.
Heat inside house -> Working Fluid -> Compressor Coils -> outside air (driven by fan)
vs
Heat inside house -> Working fluid -> Compressor Coils -> heat exchanger -> Pool Loop (driven by pump)
Still confused? Well I don't care enough to help you further. I just found it ironic that you questioned if someone know how an AC unit works when your question indicated a lack of knowledge in yourself. You then cemented that perception by responding.
On edit: Looks like some college student wrote a thesis on using waste heat from AC unit to warm pool water:
Way to think genius !!
What is wrong with that. First of all that was an unrelated post to the topic of AC units. Using a heat exchanger is smart in an instance like that because the GPU loop can be kept separate from the pool loop (which contains impurities). Granted I see no advantage of using mineral oil but with a heat exchanger it doesn't matter what is in each loop.
http://www.frozencpu.com/images/products/large/ex-rad-170.jpg
Two sealed loops. Only the heat can flow from one loop to the other.
Looks like a university computer lab did that some years ago (and yes they properly used a heat exchanger between the two loops):
http://hackedgadgets.com/2007/01/07/water-cooling-computers-with-a-swimming-pool/
Using mineral oil as a mean to carry heat is genius i see... It got nothing to do with using 2 loop to exchange heat of each other. Heck I used water to cool the TEC that cooled another waterloop. Water is alot more efficient to carry heat. This poster just threw out ideas like a genius.
The idea of having AC (phase-change) to be cooled by geothermal was to cool the mining rigs, not the room. If you want to have one to cool your room, be my guest. Its stupid to put phasechange in the middle. And yet you started out as David Suzuki.