项目作者: cristalhq

项目描述 :
Ternary logic for Go.
高级语言: Go
项目地址: git://github.com/cristalhq/ternary.git
创建时间: 2019-04-20T08:15:14Z
项目社区:https://github.com/cristalhq/ternary

开源协议:MIT License

下载


ternary

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

Ternary logic for Go.

Install

  1. go get github.com/cristalhq/ternary

Example

  1. a, b, c := ternary.False, ternary.Unknown, ternary.True
  2. ternary.Not(a)
  3. ternary.Imp(a, b)
  4. ternary.ImpL(a, c)
  5. ternary.MA(b)

Documentation

See these docs.

License

MIT License.