Spec-Zone.ru › Pony

Comparable[A: Comparable[A] #read]

[Source]

interface ref Comparable[A: Comparable[A] #read] is
  Equatable[A] ref

Implements

  • Equatable[A] ref

Public Functions

lt

[Source]

fun box lt(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

le

[Source]

fun box le(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

ge

[Source]

fun box ge(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

gt

[Source]

fun box gt(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

compare

[Source]

fun box compare(
  that: box->A)
: (Less val | Equal val | Greater val)

Parameters

  • that: box->A

Returns

  • (Less val | Equal val | Greater val)

eq

[Source]

fun box eq(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

ne

[Source]

fun box ne(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns

  • Bool val

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API