On function spaces of Lorentz–Sobolev type