From f81cd736e00c28cf24412a4099bae08ff2e6c493 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 16 Feb 2015 17:35:38 +0100 Subject: Unified `Iota` and `MakeList` using nested structure generator * `detail::generate_nested_structure` offers a higher order nested structure constructor for procedural list generation * renamed `Fold` implementation details --- README.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 50d6dff..ba07515 100644 --- a/README.md +++ b/README.md @@ -6,17 +6,15 @@ This library is a expanded reimplementation of my previous attempt at this probl ## Example -```cpp -// λ (length (filter odd? (list 1 2 3))) -// 2 - -const std::size_t count = tav::Length< - tav::Filter< - tav::Odd, - tav::List, tav::Int<2>, tav::Int<3>>::type - >::type ->::type::value; -``` + // λ (length (filter odd? (list 1 2 3))) + // 2 + + const std::size_t count = tav::Length< + tav::Filter< + tav::Odd, + tav::List, tav::Int<2>, tav::Int<3>> + > + >::value; ## Current features -- cgit v1.2.3