flix

0.79.0

Eq

trait Eq[a: Type]Source

Trait for types that support equality and inequality.

Instances

Primitives
Unit, Bool, Char, Float32, Float64, BigDecimal, Int8, Int16, Int32, Int64, BigInt, String, Vector[a] and tuples of 2 to 15 elements
Non-primitives
Body, Boxed, Chain[a], Color, Color, Comparison, CopyOption, DecodeErrorKind, DelayList[a], DelayMap[k, v], Down[a], Duration, ErrorKind, Flag, Identity[a], IoError, IpAddr, Ipv4Addr, Ipv6Addr, Json, JsonError, JsonPath, JsonStep, List[a], Map[k, v], Method, MoveOption, MultiMap[k, v], Nec[a], Nel[a], Option[t], ParseErrorKind, PredSym, PredType, Range[t], RedBlackTree[k, v], RelSym, Result[e, t], RetryDecision, RichString, RowVar, Set[a], Severity, Size, SizeUnit, SocketAddr, SocketAddrV4, SocketAddrV6, Style, TimeUnit, Validation[e, t], VarSym, ViewLeft[a], ViewLeft[t], ViewRight[a], ViewRight[t]

Signatures

def eq(x: a, y: a): Bool with Eq[a]§ Source

Returns true if and only if x is equal to y.

Trait Definitions

def neq(x: a, y: a): Bool with Eq[a]§ Source

Returns true if and only if x is not equal to y.