VecPairs[A: Any #share]
class ref VecPairs[A: Any #share]
Constructors
create
new ref create( v: Vec[A] val) : VecPairs[A] ref^
Parameters
- v: Vec[A] val
Returns
- VecPairs[A] ref^
Public Functions
has_next
fun box has_next() : Bool val
Returns
- Bool val
next
fun ref next() : (USize val , A) ?
Returns
- (USize val , A) ?
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/collections-persistent-VecPairs