Skip to content

Instantly share code, notes, and snippets.

@nikhedonia
Created November 9, 2018 17:06
Show Gist options
  • Save nikhedonia/eab2d2e27e8c89f7698ac2ca486c3654 to your computer and use it in GitHub Desktop.
Save nikhedonia/eab2d2e27e8c89f7698ac2ca486c3654 to your computer and use it in GitHub Desktop.
auto fibRatios = [] {
return fib() >> scan(1, [](auto a, auto b){
return b/(double)a;
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment