Correct docs for 'filter'

Closes #183
This commit is contained in:
Jason Turner 2015-06-10 18:44:30 -06:00
parent f9e0193353
commit 86482b0103

View File

@ -718,14 +718,14 @@ Object drop_while(Range c, Function f);
Object reduce(Range c, Function f);
/// \brief Takes elements from Range c that match function f, return them.
/// \brief Takes elements from Container c that match function f, return them.
///
/// Example:
/// \code
/// eval> filter([1, 2, 3, 4], odd)
/// [1, 3]
/// \endcode
Object filter(Range c, Function f);
Object filter(Container c, Function f);
/// \brief Joins the elements of the Range c into a string, delimiting each with the delim string.