Renamed to nodef/extra-bit.elm. That is where the repository lives now. It has not been published as a package under the new name.
Versions published as elmw/extra-bit still install under that name. 15 versions of 15 come from the new location (see their notes).
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/nodef/extra-bit.elm.
What we checked: The repo moved to github.com/nodef/extra-bit.elm. Rebuilt with git archive from commit c4bbac75e62a of https://github.com/nodef/extra-bit.elm (zip prefix elmw-extra-bit-5013f1c/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 09088e2ac665d011573ae9b94f482dfaa0640be1.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/elmw/extra-bit/zipball/1.0.14/
The bit is a basic unit of information in information theory, computing.
:package: Package,
:blue_book: Wiki.
This package includes bit twiddling hacks by Sean Eron Anderson and many others.
Stability: Experimental.
import Bit exposing (..)
count 7
-- 3 (111 ⇒ 3)
parity 8 2
-- 2 (10,00 ⇒ 10)
swap 6 1 0 1
-- 5 (110 ⇒ 101)
reverse 0xFFFF0000
-- 65535 (0x0000FFFF)
signExtend 15 4
-- -1| Method | Action |
|---|---|
| get | Get a bit. |
| set | Set a bit. |
| toggle | Toggle a bit. |
| swap | Swap bit sequences. |
| count | Count bits set. |
| parity | Get n-bit parity. |
| scan | Get index of first set bit from LSB. |
| merge | Merge bits as per mask. |
| interleave | Interleave bits of two int16s. |
| rotate | Rotate bits. |
| reverse | Reverse all bits. |
| signExtend | Sign extend variable bit-width integer. |