Skip to content

Commit d749da5

Browse files
committed
🪐 w/ description
1 parent c1358cf commit d749da5

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ Boolean data type has two possible truth values to represent logic.<br>
22
:package: [Package](https://package.elm-lang.org/packages/elmw/extra-boolean/latest/),
33
:blue_book: [Wiki](https://github.com/elmw/extra-boolean/wiki).
44

5+
Here is my implementation of digital logic gates in software. That includes
6+
the basic gates [not], [and], [or], [xor]; their complements [nand], [nor],
7+
[xnor]; and 2 propositional logic (taught in discrete mathematics) gates
8+
[imply], [eq]; and their complements [nimply], [neq]. There is also a
9+
multiplexer, called [select], and a `true` counter, called [count]. [count]
10+
can help you make custom gates, such as an *alternate* concept of **xnor**
11+
which returns `true` only if all inputs are the same (standard [xnor] returns
12+
`true` if even inputs are `true`). All of them can handle upto 8 inputs.
13+
14+
You know the [and] of 2-inputs, but what of 1-input? What of 0? And what of
15+
the other gates? I answer them here. BTW, Mr. [parse] is quite good at
16+
translating `string` to `boolean`.
17+
518
> Stability: Experimental.
619
720
<br>

elm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "elmw/extra-boolean",
44
"summary": "Boolean data type has two possible truth values to represent logic.",
55
"license": "MIT",
6-
"version": "1.3.0",
6+
"version": "1.3.1",
77
"exposed-modules": [
88
"Boolean"
99
],

0 commit comments

Comments
 (0)