phimuemue

Results 11 issues of phimuemue

* Factor out movement into own function * Introduce horizontal/vertical switch to avoid x/y duplicated code

As of writing this, `cargo bench` apparently has problems. Looking at https://travis-ci.org/rust-itertools/itertools/jobs/647077808#L425, I think it is a problem with `criterion`.

I think requiring only `PartialOrd` instead of `Ord` is not optimal for `minmax`: ``` // Concern 1: different behaviour than min/max let vec = [std::f64::NAN, 1.]; //vec.iter().min(); // does not...

This commits adds the following code points to the transliterator, mapping them to their simple counterparts: Ǣ, ǣ, Ǽ, ǽ, Ǿ, ǿ, ᴭ, ꟹ. Tbh, I did not have time...

I just tried to use `with_position`, and realized that its `Item` is an [enum wrapping the actual item](https://docs.rs/itertools/latest/itertools/enum.Position.html): ``` pub enum Position { First(T), Middle(T), Last(T), Only(T), } ``` This...

We have `FilterMapOk` and we have `Positions`. I think we should make `type FilterMapOk = FilterMapSpecialCase` and `type Positions = FilterMapSpecialCase`. Would enforce consitency for `DoubleEndedIterator`, fusedness, etc.

In my book, `InterleaveShortest` should not produce more items than `Interleave`, but so far it did for unfused source iterators. This PR brings `InterleaveShortest` in line with Interleave. The documentation...

Hi, neural network noob here, so all of this is to be taken with a grain of salt. From https://github.com/tobiasemrich/SchafkopfRL#state-and-action-space-lstm-variant I read that this software passes a "game_type", which I...

Similar to `exactly_one_error`'s error type, `all_equal_value`'s error type now implements `std::error::Error`. (I saw the discrepancy because [`exactly_one_error` works with `anyhow`, whereas `all_equal_value` does not](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=1a7b1ab8181cc5345ecc2461709b8cf6).) Since I had to introduce a...

breaking-change

Rust 1.82 introduced [`std::iter::repeat_n`](https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html#stabilized-apis), so we should remove our `repeat_n` when we switch to this version. Note: Our `RepeatN` implements `PeekingNext`.