cristalhq / ternary

Ternary logic for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ternary

build-img pkg-img reportcard-img coverage-img

Ternary logic for Go.

Install

go get github.com/cristalhq/ternary

Example

a, b, c := ternary.False, ternary.Unknown, ternary.True
ternary.Not(a)
ternary.Imp(a, b)
ternary.ImpL(a, c)
ternary.MA(b)

Documentation

See these docs.

License

MIT License.

About

Ternary logic for Go.

License:MIT License


Languages

Language:Go 100.0%