aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/higher/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/operation/higher/map.h')
-rw-r--r--src/list/operation/higher/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list/operation/higher/map.h b/src/list/operation/higher/map.h
index 9cb6524..ac214b7 100644
--- a/src/list/operation/higher/map.h
+++ b/src/list/operation/higher/map.h
@@ -16,12 +16,12 @@ class Map {
typename Previous
>
using function_wrapper = Cons<
- typename Function<Current>::type,
+ Eval<Function<Current>>,
Previous
>;
public:
- typedef typename Fold<function_wrapper, void, List>::type type;
+ typedef Eval<Fold<function_wrapper, void, List>> type;
};