From 9bb66d9c1d8a7bf5bf02f5a7c400894e928d2a95 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 18 Feb 2015 22:37:39 +0100 Subject: Changed `ListIndex` to return false if no index is found * analogously to `list-index` and `find` in SRFI-1 --- test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test.cc') diff --git a/test.cc b/test.cc index 6a957b1..5742fb2 100644 --- a/test.cc +++ b/test.cc @@ -922,13 +922,13 @@ static_assert( static_assert( std::is_same< - void, + tav::Boolean, tav::ListIndex< tav::Even, tav::List, tav::Int<3>, tav::Int<5>> > >::value, - "(list-index even? (list 1 3 5)) != void" + "(list-index even? (list 1 3 5)) != #f" ); // list find -- cgit v1.2.3