lib/stubs/common/basis/unsafe.sig
raw| 1 | (* Copyright (C) 2009 Matthew Fluet. |
| 2 | * |
| 3 | * MLton is released under a HPND-style license. |
| 4 | * See the file MLton-LICENSE for details. |
| 5 | *) |
| 6 | |
| 7 | signature UNSAFE = |
| 8 | sig |
| 9 | structure Array: |
| 10 | sig |
| 11 | val sub: 'a array * int -> 'a |
| 12 | val update: 'a array * int * 'a -> unit |
| 13 | end |
| 14 | structure Vector: |
| 15 | sig |
| 16 | val sub: 'a vector * int -> 'a |
| 17 | end |
| 18 | end |