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 | signature BASIC_PERSISTENT_QUEUE = | |
9 | sig | |
10 | type 'a t | |
11 | ||
12 | val empty: unit -> 'a t | |
13 | val isEmpty: 'a t -> bool | |
14 | val destruct: 'a t -> ('a * 'a t) option | |
15 | val enque: 'a t * 'a -> 'a t | |
16 | end |