dry-monads-sorbet 1.1.5 → 1.1.6.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -3
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/bundled_rbi/dry-monads.rbi +3 -7
- data/lib/dry-monads-sorbet.rb +1 -0
- data/lib/dry-monads-sorbet/railtie.rb +1 -0
- data/lib/dry/monads/sorbet/version.rb +2 -1
- data/sorbet/config +4 -0
- data/sorbet/rbi/gems/activesupport.rbi +1722 -0
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dry-core.rbi +38 -0
- data/sorbet/rbi/gems/dry-equalizer.rbi +26 -0
- data/sorbet/rbi/gems/dry-monads.rbi +510 -0
- data/sorbet/rbi/gems/em-websocket.rbi +225 -0
- data/sorbet/rbi/gems/eventmachine.rbi +489 -0
- data/sorbet/rbi/gems/ffaker.rbi +60 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/http_parser.rb.rbi +37 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/kwalify.rbi +340 -0
- data/sorbet/rbi/gems/listen.rbi +324 -0
- data/sorbet/rbi/gems/lumberjack.rbi +300 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1846 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +648 -0
- data/sorbet/rbi/gems/rb-fsevent.rbi +31 -0
- data/sorbet/rbi/gems/rb-readline.rbi +767 -0
- data/sorbet/rbi/gems/reek.rbi +1027 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +913 -0
- data/sorbet/rbi/gems/rexml.rbi +605 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1913 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1053 -0
- data/sorbet/rbi/gems/rubocop-rspec.rbi +937 -0
- data/sorbet/rbi/gems/rubocop.rbi +6841 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shoulda-matchers.rbi +1848 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +361 -0
- data/sorbet/rbi/gems/sqlite3.rbi +354 -0
- data/sorbet/rbi/gems/stackprof.rbi +52 -0
- data/sorbet/rbi/gems/thor.rbi +32 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/timecop.rbi +98 -0
- data/sorbet/rbi/gems/tzinfo.rbi +406 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +7267 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +14661 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +398 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +2072 -0
- data/sorbet/rbi/todo.rbi +8 -0
- metadata +71 -8
@@ -0,0 +1,32 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/docile/all/docile.rbi
|
9
|
+
#
|
10
|
+
# docile-1.3.2
|
11
|
+
|
12
|
+
module Docile
|
13
|
+
def dsl_eval(dsl, *args, &block); end
|
14
|
+
def dsl_eval_immutable(dsl, *args, &block); end
|
15
|
+
def dsl_eval_with_block_return(dsl, *args, &block); end
|
16
|
+
def self.dsl_eval(dsl, *args, &block); end
|
17
|
+
def self.dsl_eval_immutable(dsl, *args, &block); end
|
18
|
+
def self.dsl_eval_with_block_return(dsl, *args, &block); end
|
19
|
+
extend Docile::Execution
|
20
|
+
end
|
21
|
+
module Docile::Execution
|
22
|
+
def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
23
|
+
def self.exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
24
|
+
end
|
25
|
+
class Docile::FallbackContextProxy
|
26
|
+
def initialize(receiver, fallback); end
|
27
|
+
def instance_variables; end
|
28
|
+
def method_missing(method, *args, &block); end
|
29
|
+
end
|
30
|
+
class Docile::ChainingFallbackContextProxy < Docile::FallbackContextProxy
|
31
|
+
def method_missing(method, *args, &block); end
|
32
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/dry-core/all/dry-core.rbi
|
9
|
+
#
|
10
|
+
# dry-core-0.4.9
|
11
|
+
|
12
|
+
module Dry
|
13
|
+
end
|
14
|
+
module Dry::Core
|
15
|
+
end
|
16
|
+
module Dry::Core::Constants
|
17
|
+
def self.included(base); end
|
18
|
+
end
|
19
|
+
module Dry::Core::Deprecations
|
20
|
+
def self.[](tag); end
|
21
|
+
def self.announce(name, msg, tag: nil); end
|
22
|
+
def self.deprecated_name_message(old, new = nil, msg = nil); end
|
23
|
+
def self.deprecation_message(name, msg); end
|
24
|
+
def self.logger(output = nil); end
|
25
|
+
def self.set_logger!(output = nil); end
|
26
|
+
def self.warn(msg, tag: nil); end
|
27
|
+
end
|
28
|
+
class Dry::Core::Deprecations::Tagged < Module
|
29
|
+
def extended(base); end
|
30
|
+
def initialize(tag); end
|
31
|
+
end
|
32
|
+
module Dry::Core::Deprecations::Interface
|
33
|
+
def deprecate(old_name, new_name = nil, message: nil); end
|
34
|
+
def deprecate_class_method(old_name, new_name = nil, message: nil); end
|
35
|
+
def deprecate_constant(constant_name, message: nil); end
|
36
|
+
def deprecation_tag(tag = nil); end
|
37
|
+
def warn(msg); end
|
38
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/dry-equalizer/all/dry-equalizer.rbi
|
9
|
+
#
|
10
|
+
# dry-equalizer-0.3.0
|
11
|
+
|
12
|
+
module Dry
|
13
|
+
def self.Equalizer(*keys, **options); end
|
14
|
+
end
|
15
|
+
class Dry::Equalizer < Module
|
16
|
+
def define_cmp_method; end
|
17
|
+
def define_hash_method(immutable:); end
|
18
|
+
def define_inspect_method; end
|
19
|
+
def define_methods(inspect: nil, immutable: nil); end
|
20
|
+
def included(descendant); end
|
21
|
+
def initialize(*keys, **options); end
|
22
|
+
end
|
23
|
+
module Dry::Equalizer::Methods
|
24
|
+
def ==(other); end
|
25
|
+
def eql?(other); end
|
26
|
+
end
|
@@ -0,0 +1,510 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: false
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/dry-monads/all/dry-monads.rbi
|
9
|
+
#
|
10
|
+
# dry-monads-1.3.5
|
11
|
+
|
12
|
+
module Dry
|
13
|
+
end
|
14
|
+
module Dry::Monads
|
15
|
+
def self.Result(error, **options); end
|
16
|
+
def self.[](*monads); end
|
17
|
+
def self.all_loaded?; end
|
18
|
+
def self.constructors; end
|
19
|
+
def self.included(base); end
|
20
|
+
def self.known_monads; end
|
21
|
+
def self.load_monad(name); end
|
22
|
+
def self.register_mixin(name, mod); end
|
23
|
+
def self.registry; end
|
24
|
+
def self.registry=(registry); end
|
25
|
+
extend Dry::Monads::Maybe::Mixin::Constructors
|
26
|
+
extend Dry::Monads::Maybe::Mixin::Constructors
|
27
|
+
extend Dry::Monads::Result::Mixin::Constructors
|
28
|
+
extend Dry::Monads::Validated::Mixin::Constructors
|
29
|
+
include Dry::Core::Constants
|
30
|
+
end
|
31
|
+
module Dry::Monads::Curry
|
32
|
+
def self.call(value); end
|
33
|
+
end
|
34
|
+
class Dry::Monads::UnwrapError < StandardError
|
35
|
+
def initialize(ctx); end
|
36
|
+
end
|
37
|
+
class Dry::Monads::InvalidFailureTypeError < StandardError
|
38
|
+
def initialize(failure); end
|
39
|
+
end
|
40
|
+
class Dry::Monads::ConstructorNotAppliedError < NoMethodError
|
41
|
+
def initialize(method_name, constructor_name); end
|
42
|
+
end
|
43
|
+
module Dry::Monads::RightBiased
|
44
|
+
end
|
45
|
+
module Dry::Monads::RightBiased::Right
|
46
|
+
def ===(other); end
|
47
|
+
def and(mb); end
|
48
|
+
def apply(val = nil); end
|
49
|
+
def bind(*args, **kwargs); end
|
50
|
+
def curry; end
|
51
|
+
def deconstruct; end
|
52
|
+
def deconstruct_keys(keys); end
|
53
|
+
def destructure(*args, **kwargs); end
|
54
|
+
def discard; end
|
55
|
+
def flatten; end
|
56
|
+
def fmap(*arg0); end
|
57
|
+
def or(*arg0); end
|
58
|
+
def or_fmap(*arg0); end
|
59
|
+
def self.included(m); end
|
60
|
+
def tee(*args, &block); end
|
61
|
+
def value!; end
|
62
|
+
def value_or(_val = nil); end
|
63
|
+
end
|
64
|
+
module Dry::Monads::RightBiased::Left
|
65
|
+
def and(_); end
|
66
|
+
def apply(*arg0); end
|
67
|
+
def bind(*arg0); end
|
68
|
+
def deconstruct; end
|
69
|
+
def deconstruct_keys(keys); end
|
70
|
+
def discard; end
|
71
|
+
def flatten; end
|
72
|
+
def fmap(*arg0); end
|
73
|
+
def or(*arg0); end
|
74
|
+
def or_fmap(*arg0); end
|
75
|
+
def self.trace_caller; end
|
76
|
+
def tee(*arg0); end
|
77
|
+
def value!; end
|
78
|
+
def value_or(val = nil); end
|
79
|
+
end
|
80
|
+
module Dry::Monads::Transformer
|
81
|
+
def fmap2(*args); end
|
82
|
+
def fmap3(*args); end
|
83
|
+
end
|
84
|
+
class Dry::Monads::Maybe
|
85
|
+
def failure?; end
|
86
|
+
def monad; end
|
87
|
+
def none?; end
|
88
|
+
def self.coerce(value); end
|
89
|
+
def self.lift(*args, &block); end
|
90
|
+
def self.pure(value = nil, &block); end
|
91
|
+
def self.to_proc; end
|
92
|
+
def some?; end
|
93
|
+
def success?; end
|
94
|
+
def to_maybe; end
|
95
|
+
def to_monad; end
|
96
|
+
include Dry::Monads::Transformer
|
97
|
+
end
|
98
|
+
class Dry::Monads::Maybe::Some < Dry::Monads::Maybe
|
99
|
+
def fmap(*args, &block); end
|
100
|
+
def initialize(value = nil); end
|
101
|
+
def inspect; end
|
102
|
+
def maybe(*args, &block); end
|
103
|
+
def self.[](*value); end
|
104
|
+
def self.call(*arg0); end
|
105
|
+
def self.to_proc; end
|
106
|
+
def to_result(_fail = nil); end
|
107
|
+
def to_s; end
|
108
|
+
include Anonymous_Dry_Equalizer_2
|
109
|
+
include Dry::Equalizer::Methods
|
110
|
+
include Dry::Monads::RightBiased::Right
|
111
|
+
end
|
112
|
+
module Anonymous_Dry_Equalizer_2
|
113
|
+
def cmp?(comparator, other); end
|
114
|
+
def hash; end
|
115
|
+
def inspect; end
|
116
|
+
end
|
117
|
+
class Dry::Monads::Maybe::None < Dry::Monads::Maybe
|
118
|
+
def ==(other); end
|
119
|
+
def deconstruct; end
|
120
|
+
def eql?(other); end
|
121
|
+
def hash; end
|
122
|
+
def initialize(trace = nil); end
|
123
|
+
def inspect; end
|
124
|
+
def maybe(*arg0); end
|
125
|
+
def or(*args); end
|
126
|
+
def or_fmap(*args, &block); end
|
127
|
+
def self.instance; end
|
128
|
+
def self.method_missing(m, *arg1); end
|
129
|
+
def to_result(fail = nil); end
|
130
|
+
def to_s; end
|
131
|
+
def trace; end
|
132
|
+
include Dry::Monads::RightBiased::Left
|
133
|
+
end
|
134
|
+
module Dry::Monads::Maybe::Mixin
|
135
|
+
include Dry::Monads::Maybe::Mixin::Constructors
|
136
|
+
end
|
137
|
+
module Dry::Monads::Maybe::Mixin::Constructors
|
138
|
+
def Maybe(value); end
|
139
|
+
def None; end
|
140
|
+
def Some(value = nil, &block); end
|
141
|
+
end
|
142
|
+
module Dry::Monads::Maybe::Hash
|
143
|
+
def self.all(hash, trace = nil); end
|
144
|
+
def self.filter(hash); end
|
145
|
+
end
|
146
|
+
class Dry::Monads::Result
|
147
|
+
def failure; end
|
148
|
+
def monad; end
|
149
|
+
def self.pure(value = nil, &block); end
|
150
|
+
def success; end
|
151
|
+
def to_monad; end
|
152
|
+
def to_result; end
|
153
|
+
include Anonymous_Module_3
|
154
|
+
include Dry::Monads::Transformer
|
155
|
+
end
|
156
|
+
class Dry::Monads::Result::Success < Dry::Monads::Result
|
157
|
+
def either(f, _); end
|
158
|
+
def failure?; end
|
159
|
+
def flip; end
|
160
|
+
def fmap(*args, &block); end
|
161
|
+
def initialize(value); end
|
162
|
+
def inspect; end
|
163
|
+
def result(_, f); end
|
164
|
+
def self.[](*value); end
|
165
|
+
def self.call(*arg0); end
|
166
|
+
def self.to_proc; end
|
167
|
+
def success; end
|
168
|
+
def success?; end
|
169
|
+
def to_maybe; end
|
170
|
+
def to_s; end
|
171
|
+
def to_validated; end
|
172
|
+
include Anonymous_Dry_Equalizer_4
|
173
|
+
include Dry::Equalizer::Methods
|
174
|
+
include Dry::Monads::RightBiased::Right
|
175
|
+
end
|
176
|
+
class Dry::Monads::Result::Failure < Dry::Monads::Result
|
177
|
+
def ===(other); end
|
178
|
+
def either(_, g); end
|
179
|
+
def failure; end
|
180
|
+
def failure?; end
|
181
|
+
def flip; end
|
182
|
+
def initialize(value, trace = nil); end
|
183
|
+
def inspect; end
|
184
|
+
def or(*args); end
|
185
|
+
def or_fmap(*args, &block); end
|
186
|
+
def result(f, _); end
|
187
|
+
def self.[](*value); end
|
188
|
+
def self.call(*arg0); end
|
189
|
+
def self.to_proc; end
|
190
|
+
def success?; end
|
191
|
+
def to_maybe; end
|
192
|
+
def to_s; end
|
193
|
+
def to_validated; end
|
194
|
+
def trace; end
|
195
|
+
def value_or(val = nil); end
|
196
|
+
include Anonymous_Dry_Equalizer_5
|
197
|
+
include Dry::Equalizer::Methods
|
198
|
+
include Dry::Monads::RightBiased::Left
|
199
|
+
end
|
200
|
+
class Dry::Monads::Task
|
201
|
+
def ==(other); end
|
202
|
+
def apply(val = nil); end
|
203
|
+
def bind(&block); end
|
204
|
+
def compare_promises(x, y); end
|
205
|
+
def complete?; end
|
206
|
+
def curry(value); end
|
207
|
+
def discard; end
|
208
|
+
def fmap(&block); end
|
209
|
+
def initialize(promise); end
|
210
|
+
def inspect; end
|
211
|
+
def monad; end
|
212
|
+
def or(&block); end
|
213
|
+
def or_fmap(&block); end
|
214
|
+
def promise; end
|
215
|
+
def self.[](executor, &block); end
|
216
|
+
def self.failed(exc); end
|
217
|
+
def self.new(promise = nil, &block); end
|
218
|
+
def self.pure(value = nil, &block); end
|
219
|
+
def then(&block); end
|
220
|
+
def to_maybe; end
|
221
|
+
def to_monad; end
|
222
|
+
def to_result; end
|
223
|
+
def to_s; end
|
224
|
+
def value!; end
|
225
|
+
def value_or(&block); end
|
226
|
+
def wait(timeout = nil); end
|
227
|
+
include Anonymous_Module_6
|
228
|
+
end
|
229
|
+
class Dry::Monads::Try
|
230
|
+
def error?; end
|
231
|
+
def exception; end
|
232
|
+
def failure?; end
|
233
|
+
def self.[](*exceptions, &block); end
|
234
|
+
def self.lift(*args, &block); end
|
235
|
+
def self.pure(value = nil, exceptions = nil, &block); end
|
236
|
+
def self.run(exceptions, f); end
|
237
|
+
def success?; end
|
238
|
+
def to_monad; end
|
239
|
+
def value?; end
|
240
|
+
include Anonymous_Module_7
|
241
|
+
end
|
242
|
+
class Dry::Monads::Try::Value < Dry::Monads::Try
|
243
|
+
def bind(*args); end
|
244
|
+
def bind_call(*args, **kwargs); end
|
245
|
+
def catchable; end
|
246
|
+
def fmap(*args, &block); end
|
247
|
+
def initialize(exceptions, value); end
|
248
|
+
def inspect; end
|
249
|
+
def self.call(*arg0); end
|
250
|
+
def self.to_proc; end
|
251
|
+
def to_maybe; end
|
252
|
+
def to_result; end
|
253
|
+
def to_s; end
|
254
|
+
include Anonymous_Dry_Equalizer_8
|
255
|
+
include Dry::Equalizer::Methods
|
256
|
+
include Dry::Monads::RightBiased::Right
|
257
|
+
end
|
258
|
+
class Dry::Monads::Try::Error < Dry::Monads::Try
|
259
|
+
def ===(other); end
|
260
|
+
def initialize(exception); end
|
261
|
+
def inspect; end
|
262
|
+
def or(*args); end
|
263
|
+
def self.call(*arg0); end
|
264
|
+
def to_maybe; end
|
265
|
+
def to_result; end
|
266
|
+
def to_s; end
|
267
|
+
include Anonymous_Dry_Equalizer_9
|
268
|
+
include Dry::Equalizer::Methods
|
269
|
+
include Dry::Monads::RightBiased::Left
|
270
|
+
end
|
271
|
+
class Dry::Monads::Validated
|
272
|
+
def bind(*arg0); end
|
273
|
+
def self.pure(value = nil, &block); end
|
274
|
+
def to_monad; end
|
275
|
+
include Anonymous_Module_10
|
276
|
+
end
|
277
|
+
class Dry::Monads::Validated::Valid < Dry::Monads::Validated
|
278
|
+
def ===(other); end
|
279
|
+
def alt_map(_ = nil); end
|
280
|
+
def apply(val = nil); end
|
281
|
+
def fmap(proc = nil, &block); end
|
282
|
+
def initialize(value); end
|
283
|
+
def inspect; end
|
284
|
+
def or(_ = nil); end
|
285
|
+
def to_maybe; end
|
286
|
+
def to_result; end
|
287
|
+
def to_s; end
|
288
|
+
def value!; end
|
289
|
+
include Anonymous_Dry_Equalizer_11
|
290
|
+
include Dry::Equalizer::Methods
|
291
|
+
end
|
292
|
+
class Dry::Monads::Validated::Invalid < Dry::Monads::Validated
|
293
|
+
def ===(other); end
|
294
|
+
def alt_map(proc = nil, &block); end
|
295
|
+
def apply(val = nil); end
|
296
|
+
def error; end
|
297
|
+
def fmap(_ = nil); end
|
298
|
+
def initialize(error, trace = nil); end
|
299
|
+
def inspect; end
|
300
|
+
def or(proc = nil, &block); end
|
301
|
+
def to_maybe; end
|
302
|
+
def to_result; end
|
303
|
+
def to_s; end
|
304
|
+
def trace; end
|
305
|
+
include Anonymous_Dry_Equalizer_12
|
306
|
+
include Dry::Equalizer::Methods
|
307
|
+
end
|
308
|
+
module Dry::Monads::ConversionStubs
|
309
|
+
def self.[](*method_names); end
|
310
|
+
end
|
311
|
+
module Dry::Monads::ConversionStubs::Methods
|
312
|
+
def self.to_maybe; end
|
313
|
+
def self.to_result; end
|
314
|
+
def self.to_validated; end
|
315
|
+
def to_maybe; end
|
316
|
+
def to_result; end
|
317
|
+
def to_validated; end
|
318
|
+
end
|
319
|
+
class Dry::Monads::Task::Promise < Concurrent::Promise
|
320
|
+
def on_fulfill(result); end
|
321
|
+
def on_reject(reason); end
|
322
|
+
end
|
323
|
+
module Anonymous_Module_6
|
324
|
+
def to_maybe(*arg0); end
|
325
|
+
def to_result(*arg0); end
|
326
|
+
end
|
327
|
+
module Dry::Monads::Task::Mixin
|
328
|
+
def self.[](executor); end
|
329
|
+
include Dry::Monads::Task::Mixin::Constructors
|
330
|
+
end
|
331
|
+
module Dry::Monads::Task::Mixin::Constructors
|
332
|
+
def Task(&block); end
|
333
|
+
end
|
334
|
+
module Anonymous_Module_3
|
335
|
+
def to_maybe(*arg0); end
|
336
|
+
def to_validated(*arg0); end
|
337
|
+
end
|
338
|
+
module Anonymous_Dry_Equalizer_4
|
339
|
+
def cmp?(comparator, other); end
|
340
|
+
def hash; end
|
341
|
+
def inspect; end
|
342
|
+
end
|
343
|
+
module Anonymous_Dry_Equalizer_5
|
344
|
+
def cmp?(comparator, other); end
|
345
|
+
def hash; end
|
346
|
+
def inspect; end
|
347
|
+
end
|
348
|
+
module Dry::Monads::Result::Mixin
|
349
|
+
include Dry::Monads::Result::Mixin::Constructors
|
350
|
+
end
|
351
|
+
module Dry::Monads::Result::Mixin::Constructors
|
352
|
+
def Failure(value = nil, &block); end
|
353
|
+
def Success(value = nil, &block); end
|
354
|
+
end
|
355
|
+
module Anonymous_Module_7
|
356
|
+
def to_maybe(*arg0); end
|
357
|
+
def to_result(*arg0); end
|
358
|
+
end
|
359
|
+
module Anonymous_Dry_Equalizer_8
|
360
|
+
def cmp?(comparator, other); end
|
361
|
+
def hash; end
|
362
|
+
def inspect; end
|
363
|
+
end
|
364
|
+
module Anonymous_Dry_Equalizer_9
|
365
|
+
def cmp?(comparator, other); end
|
366
|
+
def hash; end
|
367
|
+
def inspect; end
|
368
|
+
end
|
369
|
+
module Dry::Monads::Try::Mixin
|
370
|
+
def Error(error = nil, &block); end
|
371
|
+
def Value(value = nil, exceptions = nil, &block); end
|
372
|
+
include Dry::Monads::Try::Mixin::Constructors
|
373
|
+
end
|
374
|
+
module Dry::Monads::Try::Mixin::Constructors
|
375
|
+
def Try(*exceptions, &f); end
|
376
|
+
end
|
377
|
+
module Anonymous_Module_10
|
378
|
+
def to_maybe(*arg0); end
|
379
|
+
def to_result(*arg0); end
|
380
|
+
end
|
381
|
+
module Anonymous_Dry_Equalizer_11
|
382
|
+
def cmp?(comparator, other); end
|
383
|
+
def hash; end
|
384
|
+
def inspect; end
|
385
|
+
end
|
386
|
+
module Anonymous_Dry_Equalizer_12
|
387
|
+
def cmp?(comparator, other); end
|
388
|
+
def hash; end
|
389
|
+
def inspect; end
|
390
|
+
end
|
391
|
+
module Dry::Monads::Validated::Mixin
|
392
|
+
include Dry::Monads::Validated::Mixin::Constructors
|
393
|
+
end
|
394
|
+
module Dry::Monads::Validated::Mixin::Constructors
|
395
|
+
def Invalid(value = nil, &block); end
|
396
|
+
def Valid(value = nil, &block); end
|
397
|
+
end
|
398
|
+
class Dry::Monads::List
|
399
|
+
def +(other); end
|
400
|
+
def apply(list = nil); end
|
401
|
+
def bind(*args); end
|
402
|
+
def coerce(other); end
|
403
|
+
def collect; end
|
404
|
+
def deconstruct; end
|
405
|
+
def empty?; end
|
406
|
+
def filter; end
|
407
|
+
def first; end
|
408
|
+
def fmap(*args); end
|
409
|
+
def fold_left(initial); end
|
410
|
+
def fold_right(initial); end
|
411
|
+
def foldl(initial); end
|
412
|
+
def foldr(initial); end
|
413
|
+
def head; end
|
414
|
+
def initialize(value, type = nil); end
|
415
|
+
def inspect; end
|
416
|
+
def last; end
|
417
|
+
def map(&block); end
|
418
|
+
def monad; end
|
419
|
+
def reduce(initial); end
|
420
|
+
def reverse; end
|
421
|
+
def select; end
|
422
|
+
def self.[](*values); end
|
423
|
+
def self.coerce(value, type = nil); end
|
424
|
+
def self.pure(value = nil, type = nil, &block); end
|
425
|
+
def self.unfold(state, type = nil); end
|
426
|
+
def size; end
|
427
|
+
def sort; end
|
428
|
+
def tail; end
|
429
|
+
def to_a; end
|
430
|
+
def to_ary; end
|
431
|
+
def to_monad; end
|
432
|
+
def to_s; end
|
433
|
+
def traverse(proc = nil, &block); end
|
434
|
+
def type; end
|
435
|
+
def typed(type = nil); end
|
436
|
+
def typed?; end
|
437
|
+
def value; end
|
438
|
+
extend Anonymous_Dry_Core_Deprecations_Tagged_13
|
439
|
+
extend Dry::Core::Deprecations::Interface
|
440
|
+
include Anonymous_Dry_Equalizer_14
|
441
|
+
include Dry::Equalizer::Methods
|
442
|
+
include Dry::Monads::Transformer
|
443
|
+
end
|
444
|
+
module Anonymous_Dry_Core_Deprecations_Tagged_13
|
445
|
+
end
|
446
|
+
module Anonymous_Dry_Equalizer_14
|
447
|
+
def cmp?(comparator, other); end
|
448
|
+
def hash; end
|
449
|
+
def inspect; end
|
450
|
+
end
|
451
|
+
class Dry::Monads::List::ListBuilder
|
452
|
+
def [](*args); end
|
453
|
+
def coerce(value); end
|
454
|
+
def initialize(type); end
|
455
|
+
def pure(val = nil, &block); end
|
456
|
+
def self.[](*arg0); end
|
457
|
+
def type; end
|
458
|
+
end
|
459
|
+
module Dry::Monads::List::Mixin
|
460
|
+
def List(value); end
|
461
|
+
end
|
462
|
+
module Dry::Monads::Do
|
463
|
+
def self.coerce_to_monad(monads); end
|
464
|
+
def self.for(*methods); end
|
465
|
+
def self.halt(result); end
|
466
|
+
def self.included(base); end
|
467
|
+
def self.wrap_method(target, method_name); end
|
468
|
+
extend Dry::Monads::Do::Mixin
|
469
|
+
end
|
470
|
+
module Dry::Monads::Do::Mixin
|
471
|
+
def bind(monads); end
|
472
|
+
def call; end
|
473
|
+
end
|
474
|
+
class Dry::Monads::Do::Halt < StandardError
|
475
|
+
def initialize(result); end
|
476
|
+
def result; end
|
477
|
+
end
|
478
|
+
module Dry::Monads::Do::All
|
479
|
+
def self.included(base); end
|
480
|
+
extend Dry::Monads::Do::All::InstanceMixin
|
481
|
+
end
|
482
|
+
class Dry::Monads::Do::All::MethodTracker < Module
|
483
|
+
def extend_object(target); end
|
484
|
+
def initialize(wrappers); end
|
485
|
+
def wrap_method(target, method); end
|
486
|
+
def wrappers; end
|
487
|
+
end
|
488
|
+
module Dry::Monads::Do::All::InstanceMixin
|
489
|
+
def extended(object); end
|
490
|
+
end
|
491
|
+
class Dry::Monads::Lazy < Dry::Monads::Task
|
492
|
+
def force!; end
|
493
|
+
def force; end
|
494
|
+
def inspect; end
|
495
|
+
def self.[](executor, &block); end
|
496
|
+
def self.new(promise = nil, &block); end
|
497
|
+
def to_s; end
|
498
|
+
def value!; end
|
499
|
+
end
|
500
|
+
module Dry::Monads::Lazy::Mixin
|
501
|
+
include Dry::Monads::Lazy::Mixin::Constructors
|
502
|
+
end
|
503
|
+
module Dry::Monads::Lazy::Mixin::Constructors
|
504
|
+
def Lazy(&block); end
|
505
|
+
end
|
506
|
+
class Dry::Monads::Result::Fixed < Module
|
507
|
+
def included(base); end
|
508
|
+
def initialize(error, **_options); end
|
509
|
+
def self.[](error, **options); end
|
510
|
+
end
|