Tristan Brindle

Results 35 issues of Tristan Brindle

Currently internal iteration is achieved by a sequence customisation point `for_each_while(predicate) -> cursor_t`, which instructs the sequence to iterate over all of its elements until such time as the predicate...

enhancement

Attempting to compile the following Hylo source: ```swift trait BidirectionalCollection: Collection { fun position(before: Position) -> Position } public conformance Array: BidirectionalCollection { public fun position(before pos: Int) -> Int...

We're currently using Sphinx for our documentation, but it seems like MkDocs -- specifically [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) -- is now preferred by many projects. It certainly does generate very nice,...

documentation
enhancement

From #193 by @Guekka: > Sidenote: while writing this, I've noticed find_if doesn't seem tested? Embarrassingly, it's true, we don't have specific tests for `find_if` and `find_if_not` (although they're used...

bug
good first issue

Both the [Conan](https://conan.io/center/recipes/flux) and [Vcpkg](https://vcpkg.io/en/package/flux) Flux packages are git snapshots from some time ago. It would be great to get these updated for the new Flux release.

help wanted
good first issue

The example given in [the documentation](https://docs.hylo-lang.org/language-tour/bindings) is ```swift public fun main() { let gravity = 9.81 &gravity = 11.2 // error: cannot assign, `gravity` is a `let` binding } ```...

This PR adds a new `iterable` concept and updates various algorithms and adaptors to use it. An `iterable` is, as the name suggests, something we can iterate over -- specifically,...

The various `std::string::find()` functions have an `start_pos` argument. It would be handy to have this for our `find()` functions as well, because messing about with slices can be a bit...

enhancement

Today's Advent of Code was a reminder that even with `flux::unpack`, working with sequences which yield tuples can be really ugly: ![screenshot](https://github.com/user-attachments/assets/85944507-7414-4209-b6b8-99158518111e) To avoid this, we could automatically unpack tuples...

enhancement