Age | Commit message (Collapse) | Author |
|
* as its name implies this function returns the _nth_ value of a given _Cons_ structure
* added appropriate test case
|
|
|
|
* as its name implies this function returns the length of a given _Cons_ structure
* result type is `Size<Length>` which wraps `std::size_t` to match the `sizeof` operator
|
|
* concatenates two given _Cons_ based lists into a single one
|
|
* `Cons` is a straigth forward type _pair_ containing `car` and `cdr` typedefs
** they may be accessed using `Car` and `Cdr` helper template aliases
** there is no enforcement of _Cons_ structure and type equality whatsoever
*** i.e. similar to Scheme and different from how it is implemented in _ConstList_
* `List` is a recursive variadic helper template for constructing `Cons` value types
** simplifies _Cons_ construction and may be expanded to offer type deduction and built upon to enforce type equality
* added appropriate test cases
|
|
|
|
|
|
|
|
|
|
|
|
* the result type now depends on the `decltype` of the performed operation
|
|
|