diff options
Implemented `Contains` in terms of `Any`
* as its name implies this _function_ simplifies checking if a specific value is contained within a given list
* updated `Map` to actually resolve the provided _function_
Diffstat (limited to 'src/list/operation/higher/misc.h')
-rw-r--r-- | src/list/operation/higher/misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/list/operation/higher/misc.h b/src/list/operation/higher/misc.h index 1eacaaa..feec7de 100644 --- a/src/list/operation/higher/misc.h +++ b/src/list/operation/higher/misc.h @@ -17,7 +17,10 @@ class Map { typename Previous > struct function_wrapper { - typedef Cons<Function<Current>, Previous> type; + typedef Cons< + typename Function<Current>::type, + Previous + > type; }; public: |