beman-project / beman

Organization, documentation, etc. for the Beman Project
https://bemanproject.org
Other
20 stars 10 forks source link

Implement beman.ranges_and_views #40

Open inbal2l opened 1 month ago

inbal2l commented 1 month ago

This task is to create a new Beman.RangesAndViews library, however, this library should grow incrementally - there's not expectation that it will be implemented all at once :)

The task is to create the project and namespace within Beman, and add to it:

  1. The basic concepts and structs for ranges (range, view sentinal, etc.)
  2. Add utils incrementally, such as:
    1. "P3060: Add std::views::upto(n)" by Weile Wei, Zhihao Yuan
    2. "P3137: views::to_input" by Tim Song
    3. "P3138: views::cache_last" by Tim Song

(more will be added later, feel free to suggest in comments)

dhollman commented 3 days ago

I'm going to take a shot at this one :-)