@@ -20,8 +20,7 @@
20#include <deque>
20#include <deque>
21#include <map>
21#include <map>
22#include <string>
22#include <string>
24−#include <iostream>
23+#include <limits>
26namespace purescript {
25namespace purescript {
@@ -38,6 +37,12 @@ namespace purescript {
39 using std::shared_ptr<void>::shared_ptr;
38 using std::shared_ptr<void>::shared_ptr;
40+ boxed() noexcept : std::shared_ptr<void>() {
43+ boxed(const std::nullptr_t) noexcept : std::shared_ptr<void>() {
41 boxed(const int n) : std::shared_ptr<void>(std::make_shared<int>(n)) {
46 boxed(const int n) : std::shared_ptr<void>(std::make_shared<int>(n)) {
@@ -61,9 +66,6 @@ namespace purescript {
61 boxed(string&& s) : std::shared_ptr<void>(std::make_shared<string>(std::move(s))) {
66 boxed(string&& s) : std::shared_ptr<void>(std::make_shared<string>(std::move(s))) {
64− boxed(const std::nullptr_t) : std::shared_ptr<void>() {
67 boxed(array_t&& l) : std::shared_ptr<void>(std::make_shared<array_t>(std::move(l))) {
69 boxed(array_t&& l) : std::shared_ptr<void>(std::make_shared<array_t>(std::move(l))) {