chore(util/list_fn): fix typo

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-21 14:10:00 -08:00
parent df04dbe096
commit f6bfd11aed

View file

@ -140,7 +140,7 @@ list<T> append(list<T> const & l1, list<T> const & l2) {
template<typename T, typename F>
list<T> map(list<T> const & l, F && f) {
static_assert(std::is_same<typename std::result_of<F(T const &)>::type, T>::value,
"map: return type of f is not sxpr");
"map: return type of f is not equal to input type");
if (is_nil(l)) {
return l;
} else {