Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh |
2 | * Jagannathan, and Stephen Weeks. | |
3 | * | |
4 | * MLton is released under a BSD-style license. | |
5 | * See the file MLton-LICENSE for details. | |
6 | *) | |
7 | ||
8 | functor MonoVector (Elt: T) = | |
9 | struct | |
10 | open Vector | |
11 | type t = Elt.t t | |
12 | val equals = fn (a, a') => equals (a, a', Elt.equals) | |
13 | val layout = layout Elt.layout | |
14 | end |