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

Lezárt
megnyitva ekkor: 5 éve koz.ross által · 1 hozzászólás
Koz Ross hozzászólt 5 éve

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 hozzászólt 5 éve
Tulajdonos

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``.
koz.ross lezárta ekkor: 5 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.