Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / stubs / mlton-stubs / vector.sig
1 (* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2006 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 BSD-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