Module: Dry::Monads::List::Mixin

Defined in:
lib/dry/monads/list.rb

Overview

List contructors.

Constant Summary collapse

List =

See Also:

List
L =

See Also:

List

Instance Method Summary collapse

Instance Method Details

#List(value) ⇒ List

List constructor.

Returns:



436
437
438
# File 'lib/dry/monads/list.rb', line 436

def List(value)
  List.coerce(value)
end