I am trying to read a book on machine learning which define the error function $hS(x)$ where $$[m] = \{1,\ldots,m\}$$ as being

However I do not understand well basics math notation, would you mind helping me to understand this one, and also if you have some documents available in order to learn the language.
Thanks!