Why does chlorine show a mesomeric effect in haloarenes and an inductive effect in haloalkanes?

Chlorine shows the +R effect in haloarenes and the -I effect in haloalkanes. Does chlorine do the same for all cyclic compounds or only for aromatic rings? Is this just another experimentally seen fact about chlorine or is there a higher mechanism involved?


