W3cubDocs

/Pony

VecValues[A: Any #share]

[Source]

class ref VecValues[A: Any #share]

Constructors

create

[Source]

new ref create(
  v: Vec[A] val)
: VecValues[A] ref^

Parameters

  • v: Vec[A] val

Returns

Public Functions

has_next

[Source]

fun box has_next()
: Bool val

Returns

next

[Source]

fun ref next()
: val->A ?

Returns

  • val->A ?

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