Locally adequate semigroup algebras