git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: nicer name for data constructor name key
58b91a5Andy Arvanitis
pcc/include/purescript.hh+1−1
@@ -57,7 +57,7 @@ public:
57};
57};
58
58
59const bool undefined = false;
59const bool undefined = false;
60−const size_t kDataCtor = 0;
60+const size_t constructor = 0;
61
61
62// A variant data class designed to provide some features of dynamic typing.
62// A variant data class designed to provide some features of dynamic typing.
63//
63//
src/Language/PureScript/CodeGen/Cpp/Types.hs+1−1
@@ -125,4 +125,4 @@ unthunkMarkerValue :: String
125unthunkMarkerValue = "any::unthunk"
125unthunkMarkerValue = "any::unthunk"
126
126
127ctorKey :: String
127ctorKey :: String
128−ctorKey = "kDataCtor"
128+ctorKey = "constructor"