// (c) Microsoft Corporation 2005-2009. #if INTERNALIZED_POWER_PACK module (* internal *) Internal.Utilities.Lazy #else module Microsoft.FSharp.Compatibility.Lazy #endif open Microsoft.FSharp.Core open Microsoft.FSharp.Control open Microsoft.FSharp.Collections open System type 'T t = Lazy<'T> exception Undefined = Microsoft.FSharp.Control.Undefined /// See Lazy.Force val force: Lazy<'T> -> 'T /// See Lazy.Force. [] val force_val: Lazy<'T> -> 'T /// Build a lazy (delayed) value from the given computation [] val lazy_from_fun: (unit -> 'T) -> Lazy<'T> /// Build a lazy (delayed) value from the given pre-computed value. [] val lazy_from_val: 'T -> Lazy<'T> /// Check if a lazy (delayed) value has already been computed [] val lazy_is_val: Lazy<'T> -> bool /// See Lazy.SynchronizedForce. [] val force_with_lock: Lazy<'T> -> 'T /// See Lazy.UnsynchronizedForce [] val force_without_lock: Lazy<'T> -> 'T /// Build a lazy (delayed) value from the given computation [] val create : (unit -> 'T) -> Lazy<'T>