Last active
January 8, 2017 15:32
-
-
Save deque-blog/4f0b34f44a6c6e27474fe3f72f800eb3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
auto read_stock_by_id(std::string const& id) { | |
return read_stock_filtered_by(equaling(id, on(&stock_update::m_id))); | |
} | |
//Assembling the algorithm, the source and the pipeline | |
std::vector<std::string> fake_source = ... ; | |
auto result = algorithm(read_stock_by_id("EUR")(fake_source)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment