aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/reverse.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-01-22 18:16:45 +0100
committerAdrian Kummerlaender2015-01-22 18:16:45 +0100
commit2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed (patch)
treeace35105a28d150996b14bea5a02518988d028e0 /src/list/operation/reverse.h
parentcb1ee55373e5efd1441664ec4e6942d4ace5e368 (diff)
downloadTypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar.gz
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar.bz2
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar.lz
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar.xz
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.tar.zst
TypeAsValue-2e58bae3b46dc292736bbdbba6d4ee56b1ee51ed.zip
Renamed `Concatenate` to `Append` to match Scheme function naming
Diffstat (limited to 'src/list/operation/reverse.h')
-rw-r--r--src/list/operation/reverse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/list/operation/reverse.h b/src/list/operation/reverse.h
index 7a0305c..632fa5b 100644
--- a/src/list/operation/reverse.h
+++ b/src/list/operation/reverse.h
@@ -1,7 +1,7 @@
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_REVERSE_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_REVERSE_H_
-#include "concatenate.h"
+#include "append.h"
#include "higher/fold.h"
namespace tav {
@@ -13,15 +13,15 @@ class Reverse {
typename Current,
typename Previous
>
- struct reversed_concatenate {
- typedef typename Concatenate<
+ struct reversed_append {
+ typedef typename Append<
Previous,
Cons<Current, void>
>::type type;
};
public:
- typedef typename Fold<reversed_concatenate, void, List>::type type;
+ typedef typename Fold<reversed_append, void, List>::type type;
};