allow listSelector to be used as a function
Merge pull request #718 from akre54/list-selector-fn

Allow listSelector to be used as a function