| 1 |
(* Copyright (C) 2022 Matthew Fluet. |
| 2 |
* Copyright (C) 1999-2006, 2008 Henry Cejtin, Matthew Fluet, Suresh |
| 3 |
* Jagannathan, and Stephen Weeks. |
| 4 |
* Copyright (C) 1997-2000 NEC Research Institute. |
| 5 |
* |
| 6 |
* MLton is released under a HPND-style license. |
| 7 |
* See the file MLton-LICENSE for details. |
| 8 |
*) |
| 9 |
|
| 10 |
signature MLTON_VECTOR = |
| 11 |
sig |
| 12 |
val create: int -> {done: unit -> 'a vector, |
| 13 |
sub: int -> 'a, |
| 14 |
update: int * 'a -> unit} |
| 15 |
val unfoldi: int * 'b * (int * 'b -> 'a * 'b) -> 'a vector * 'b |
| 16 |
end |