[MLton-commit] r5043

Vesa Karvonen vesak at mlton.org
Fri Jan 12 04:30:53 PST 2007


Initial commit of a lib of misc utils to be refactored.
----------------------------------------------------------------------

A   mltonlib/trunk/com/ssh/misc-util/unstable/queue.sig

----------------------------------------------------------------------

Added: mltonlib/trunk/com/ssh/misc-util/unstable/queue.sig
===================================================================
--- mltonlib/trunk/com/ssh/misc-util/unstable/queue.sig	2007-01-12 12:30:34 UTC (rev 5042)
+++ mltonlib/trunk/com/ssh/misc-util/unstable/queue.sig	2007-01-12 12:30:48 UTC (rev 5043)
@@ -0,0 +1,20 @@
+(* Copyright (C) 2007 SSH Communications Security, Helsinki, Finland
+ *
+ * This code is released under the MLton license, a BSD-style license.
+ * See the LICENSE file or http://mlton.org/License for details.
+ *)
+
+(*
+ * Signature for an imperative polymorphic queue.
+ *)
+
+signature QUEUE = sig
+   type 'a t
+
+   val new : 'a t Thunk.t
+
+   val isEmpty : 'a t UnPr.t
+
+   val deque : 'a t -> 'a Option.t
+   val enque : 'a t -> 'a Effect.t
+end


Property changes on: mltonlib/trunk/com/ssh/misc-util/unstable/queue.sig
___________________________________________________________________
Name: svn:eol-style
   + native




More information about the MLton-commit mailing list