From 86482b0103484cc6a15a287f00a6569f30b5c7ff Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 10 Jun 2015 18:44:30 -0600 Subject: [PATCH] Correct docs for 'filter' Closes #183 --- include/chaiscript/language/chaiscript_prelude_docs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/chaiscript/language/chaiscript_prelude_docs.hpp b/include/chaiscript/language/chaiscript_prelude_docs.hpp index 7480858..25d32d1 100644 --- a/include/chaiscript/language/chaiscript_prelude_docs.hpp +++ b/include/chaiscript/language/chaiscript_prelude_docs.hpp @@ -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.