Set, as a kind of data structure, can be describe with the function. In that case it is called characteristic function, because it describe the set/decide whether the valeu belong to set or not. The thing is to implement operations on set in functional style