Renamed to nodef/extra-boolean.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-boolean still install under that name. 20 versions of 20 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-boolean.elm.
What we checked: The repo moved to github.com/nodef/extra-boolean.elm. Rebuilt with git archive from commit 5f465e9a6211 of https://github.com/nodef/extra-boolean.elm (zip prefix elmw-extra-boolean-9ff7ad0/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 96b53bdd26143300f10ed5319e31f021a9c276f9.
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-boolean/zipball/1.1.3/
Boolean data type has two possible truth values to represent logic.
:package: Package,
:blue_book: Wiki.
Stability: Experimental.
import Boolean exposing (..)
parse "inactive"
-- False
parse "not off"
-- True
parse "truthy"
-- True
xor True True
-- False
imp True False
-- False
eqv False False
-- True| Method | Action |
|---|---|
| parse | Convert string to boolean. |
| not | Check if value is false. |
| and | Check if all values are true. |
| or | Check if any value is true. |
| xor | Check if odd no. of values are true. |
| nand | Check if any value is false. |
| nor | Check if all values are false. |
| xnor | Check if even no. of values are true. |
| eq | Check if antecedent ⇔ consequent. |
| imply | Check if antecedent ⇒ consequent. |
| nimply | Check if antecedent ⇏ consequent. |
| count | Count no. of true values. |