author | blanchet |
Mon, 13 Sep 2010 21:11:59 +0200 | |
changeset 39349 | 2d0a4361c3ef |
parent 39348 | 6f9c9899f99f |
child 39353 | 7f11d833d65b |
permissions | -rw-r--r-- |
(* ========================================================================= *) (* 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