#5 Add a general instance based off a newtype around something with a FiniteBits instance

Uzavrená
otvorené 5 rokov pred užívateľom koz.ross · 1 komentárov
Koz Ross okomentoval 5 rokov pred

We can enumerate something like that without having maths operations available. Some kind of Gray code, or ranking-unranking ops, might be just the ticket here.

We can enumerate something like that without having maths operations available. Some kind of Gray code, or ranking-unranking ops, might be just the ticket here.
Koz Ross okomentoval 5 rokov pred
Vlastník

This is actually not possible, as we can't promote finiteBitSize in the context of an associated type, possibly at all, and definitely without something like singletons.

This is actually not possible, as we can't promote ``finiteBitSize`` in the context of an associated type, possibly at all, and _definitely_ without something like ``singletons``.
Prihláste sa pre zapojenie do konverzácie.
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.