Documentation
¶
Index ¶
- Constants
- func Equal[T Eq[T]](a T, b T) bool
- func First[A, B any](p *Pair[A, B]) A
- func GreaterThan[T Ord[T]](a T, b T) bool
- func GreaterThanOrEqual[T Ord[T]](a T, b T) bool
- func LessThan[T Ord[T]](a T, b T) bool
- func LessThanOrEqual[T Ord[T]](a T, b T) bool
- func Max[T Ord[T]](a T, b T) T
- func Min[T Ord[T]](a T, b T) T
- func NotEqual[T Eq[T]](a T, b T) bool
- func Second[A, B any](p *Pair[A, B]) B
- func UnwrapBool(a Bool) bool
- func UnwrapComplex128(a Complex128) complex128
- func UnwrapComplex64(a Complex64) complex64
- func UnwrapFloat32(a Float32) float32
- func UnwrapFloat64(a Float64) float64
- func UnwrapInt(a Int) int
- func UnwrapInt16(a Int16) int16
- func UnwrapInt32(a Int32) int32
- func UnwrapInt64(a Int64) int64
- func UnwrapInt8(a Int8) int8
- func UnwrapString(a String) string
- func UnwrapUint(a Uint) uint
- func UnwrapUint16(a Uint16) uint16
- func UnwrapUint32(a Uint32) uint32
- func UnwrapUint64(a Uint64) uint64
- func UnwrapUint8(a Uint8) uint8
- func UnwrapUintptr(a Uintptr) uintptr
- type Bool
- type Comparator
- type Complex128
- type Complex64
- type Eq
- type Equaler
- type F1
- type F2
- type F3
- type F4
- type F5
- type Float32
- type Float64
- type Int
- type Int16
- type Int32
- type Int64
- type Int8
- type Ord
- type Ordering
- type Pair
- type String
- type Uint
- type Uint16
- type Uint32
- type Uint64
- type Uint8
- type Uintptr
Constants ¶
View Source
const ( OrderingLessThan = "OrderingLessThan" OrderingEqual = "OrderingEqual" OrderingGreaterThan = "OrderingGreaterThan" )
Variables ¶
This section is empty.
Functions ¶
func GreaterThan ¶
func GreaterThanOrEqual ¶
func LessThanOrEqual ¶
func UnwrapBool ¶
func UnwrapComplex128 ¶
func UnwrapComplex128(a Complex128) complex128
func UnwrapComplex64 ¶
func UnwrapFloat32 ¶
func UnwrapFloat64 ¶
func UnwrapInt16 ¶
func UnwrapInt32 ¶
func UnwrapInt64 ¶
func UnwrapInt8 ¶
func UnwrapString ¶
func UnwrapUint ¶
func UnwrapUint16 ¶
func UnwrapUint32 ¶
func UnwrapUint64 ¶
func UnwrapUint8 ¶
func UnwrapUintptr ¶
Types ¶
type Comparator ¶
func ConstComparator ¶ added in v0.1.1
func ConstComparator[T any](a Ordering) Comparator[T]
type Complex128 ¶
type Complex128 complex128
func WrapComplex128 ¶
func WrapComplex128(a complex128) Complex128
func (Complex128) Equal ¶
func (a Complex128) Equal(b Complex128) bool
Click to show internal directories.
Click to hide internal directories.