fix Issue 11403 - functions in std.algo can't be used as pred
Merge pull request #1819 from monarchdodra/equalEqual

fix Issue 11403 - functions in std.algo can't be used as pred