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:


374
375
376
# File 'lib/dry/monads/list.rb', line 374

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