src/Tools/Metis/src/Lazy.sig
author blanchet
Mon, 07 Jan 2013 19:15:01 +0100
changeset 50758 26936f4ae087
parent 39502 cffceed8e7fa
child 72004 913162a47d9f
permissions -rw-r--r--
tuned output

(* ========================================================================= *)
(* SUPPORT FOR LAZY EVALUATION                                               *)
(* Copyright (c) 2007 Joe Hurd, distributed under the BSD License            *)
(* ========================================================================= *)

signature Lazy =
sig

type 'a lazy

val quickly : 'a -> 'a lazy

val delay : (unit -> 'a) -> 'a lazy

val force : 'a lazy -> 'a

val memoize : (unit -> 'a) -> unit -> 'a

end