This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <utility> | |
namespace demo { | |
template <typename Hd, typename Tl> | |
using cons_t = std::pair<Hd, Tl>; | |
constexpr auto nil = nullptr; | |
constexpr auto cons(auto hd, auto tl) { | |
return std::make_pair(hd, tl); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <utility> | |
#include <boost/context/all.hpp> | |
#include <boost/asio.hpp> | |
#include <boost/date_time/posix_time/posix_time.hpp> | |
namespace spawn { | |
namespace asio = boost::asio; | |
namespace ctx = boost::context; |