Module: Dry::Monads::Lazy::Mixin::Constructors

Included in:
Dry::Monads::Lazy::Mixin
Defined in:
lib/dry/monads/lazy.rb

Overview

Lazy constructors

Instance Method Summary collapse

Instance Method Details

#LazyLazy

Lazy computation contructor

Parameters:

  • block (Proc)

Returns:



79
# File 'lib/dry/monads/lazy.rb', line 79

def Lazy(&) = Lazy.new(&)