The Airy gas model of the edge electron gas is used to construct an exchang
e-energy functional that is an alternative to those obtained in the local-d
ensity and generalized-gradient approximations. Test calculations for rare-
gas atoms, molecules, solids, and surfaces show that the Airy gas functiona
l performs better than the local-density approximation in all cases and bet
ter than the generalized-gradient approximation for solids and surfaces.