Talk:Search a list of records: Difference between revisions

Content added Content deleted
Line 29: Line 29:


: A couple of concrete examples – I think the requirements should at least prompt, in the case of JavaScript ES6, the supply of a specific equality function by the coder, returning a value in the case of '''Array.prototype.find'''(''callback''), and an index in the case of '''Array.prototype.findIndex'''(''callback'').
: A couple of concrete examples – I think the requirements should at least prompt, in the case of JavaScript ES6, the supply of a specific equality function by the coder, returning a value in the case of '''Array.prototype.find'''(''callback''), and an index in the case of '''Array.prototype.findIndex'''(''callback'').
:For JS ES5, it should prompt the use/demonstration of coder-specified equality functions through equivalent 'polyfills' [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 13:33, 10 October 2015 (UTC)
:For JS ES5, it should prompt the use/demonstration of coder-specified equality functions through equivalent 'polyfills'
:In the case of Haskell, the requirements should be such as to require the supply of a predicate function to '''find :: (a -> Bool) -> [a] -> Maybe a'''
: [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 13:33, 10 October 2015 (UTC)