HashEq64[A: (Hashable64 #read & Equatable[A] #read)]

[Source]

primitive val HashEq64[A: (Hashable64 #read & Equatable[A] #read)] is
  HashFunction64[A] val

Implements

Constructors

create

[Source]

new val create()
: HashEq64[A] val^

Returns

Public Functions

hash64

[Source]

Use the hash function from the type parameter.

fun box hash64(
  x: box->A)
: U64 val

Parameters

  • x: box->A

Returns

eq

[Source]

Use the structural equality function from the type parameter.

fun box eq(
  x: box->A,
  y: box->A)
: Bool val

Parameters

  • x: box->A
  • y: box->A

Returns

ne

[Source]

fun box ne(
  that: HashEq64[A] val)
: Bool val

Parameters

Returns

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/collections-HashEq64