mangrove 0.15.1 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/README.md +13 -10
- data/docs/Mangrove/ControlFlow/ControlSignal.html +1 -1
- data/docs/Mangrove/ControlFlow.html +1 -1
- data/docs/Mangrove/Option/ControlSignal.html +1 -1
- data/docs/Mangrove/Option/None.html +5 -5
- data/docs/Mangrove/Option/Some.html +3 -3
- data/docs/Mangrove/Option.html +1 -1
- data/docs/Mangrove/Result/ControlSignal.html +1 -1
- data/docs/Mangrove/Result/Err.html +94 -92
- data/docs/Mangrove/Result/Ok.html +94 -92
- data/docs/Mangrove/Result.html +202 -24
- data/docs/Mangrove.html +2 -2
- data/docs/_index.html +1 -1
- data/docs/file.README.html +14 -11
- data/docs/index.html +14 -11
- data/docs/method_list.html +151 -135
- data/docs/top-level-namespace.html +1 -1
- data/lib/mangrove/option.rb +4 -4
- data/lib/mangrove/result.rb +29 -17
- data/lib/mangrove/version.rb +1 -1
- metadata +3 -44
data/docs/method_list.html
CHANGED
@@ -46,88 +46,88 @@
|
|
46
46
|
|
47
47
|
<li class="odd ">
|
48
48
|
<div class="item">
|
49
|
-
<span class='object_link'><a href="Mangrove/
|
50
|
-
<small>Mangrove::
|
49
|
+
<span class='object_link'><a href="Mangrove/Option.html#==-instance_method" title="Mangrove::Option#== (method)">#==</a></span>
|
50
|
+
<small>Mangrove::Option</small>
|
51
51
|
</div>
|
52
52
|
</li>
|
53
53
|
|
54
54
|
|
55
55
|
<li class="even ">
|
56
56
|
<div class="item">
|
57
|
-
<span class='object_link'><a href="Mangrove/Result/
|
58
|
-
<small>Mangrove::Result::
|
57
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#==-instance_method" title="Mangrove::Result::Err#== (method)">#==</a></span>
|
58
|
+
<small>Mangrove::Result::Err</small>
|
59
59
|
</div>
|
60
60
|
</li>
|
61
61
|
|
62
62
|
|
63
63
|
<li class="odd ">
|
64
64
|
<div class="item">
|
65
|
-
<span class='object_link'><a href="Mangrove/
|
66
|
-
<small>Mangrove::
|
65
|
+
<span class='object_link'><a href="Mangrove/Result.html#==-instance_method" title="Mangrove::Result#== (method)">#==</a></span>
|
66
|
+
<small>Mangrove::Result</small>
|
67
67
|
</div>
|
68
68
|
</li>
|
69
69
|
|
70
70
|
|
71
71
|
<li class="even ">
|
72
72
|
<div class="item">
|
73
|
-
<span class='object_link'><a href="Mangrove/
|
74
|
-
<small>Mangrove::
|
73
|
+
<span class='object_link'><a href="Mangrove/Option/ControlSignal.html#==-instance_method" title="Mangrove::Option::ControlSignal#== (method)">#==</a></span>
|
74
|
+
<small>Mangrove::Option::ControlSignal</small>
|
75
75
|
</div>
|
76
76
|
</li>
|
77
77
|
|
78
78
|
|
79
79
|
<li class="odd ">
|
80
80
|
<div class="item">
|
81
|
-
<span class='object_link'><a href="Mangrove/
|
82
|
-
<small>Mangrove::
|
81
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#==-instance_method" title="Mangrove::Result::Ok#== (method)">#==</a></span>
|
82
|
+
<small>Mangrove::Result::Ok</small>
|
83
83
|
</div>
|
84
84
|
</li>
|
85
85
|
|
86
86
|
|
87
87
|
<li class="even ">
|
88
88
|
<div class="item">
|
89
|
-
<span class='object_link'><a href="Mangrove/Option/
|
90
|
-
<small>Mangrove::Option::
|
89
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#==-instance_method" title="Mangrove::Option::Some#== (method)">#==</a></span>
|
90
|
+
<small>Mangrove::Option::Some</small>
|
91
91
|
</div>
|
92
92
|
</li>
|
93
93
|
|
94
94
|
|
95
95
|
<li class="odd ">
|
96
96
|
<div class="item">
|
97
|
-
<span class='object_link'><a href="Mangrove/
|
98
|
-
<small>Mangrove::
|
97
|
+
<span class='object_link'><a href="Mangrove/Result/ControlSignal.html#==-instance_method" title="Mangrove::Result::ControlSignal#== (method)">#==</a></span>
|
98
|
+
<small>Mangrove::Result::ControlSignal</small>
|
99
99
|
</div>
|
100
100
|
</li>
|
101
101
|
|
102
102
|
|
103
103
|
<li class="even ">
|
104
104
|
<div class="item">
|
105
|
-
<span class='object_link'><a href="Mangrove/
|
106
|
-
<small>Mangrove::
|
105
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#==-instance_method" title="Mangrove::Option::None#== (method)">#==</a></span>
|
106
|
+
<small>Mangrove::Option::None</small>
|
107
107
|
</div>
|
108
108
|
</li>
|
109
109
|
|
110
110
|
|
111
111
|
<li class="odd ">
|
112
112
|
<div class="item">
|
113
|
-
<span class='object_link'><a href="Mangrove/Result
|
114
|
-
<small>Mangrove::Result
|
113
|
+
<span class='object_link'><a href="Mangrove/Result.html#and-instance_method" title="Mangrove::Result#and (method)">#and</a></span>
|
114
|
+
<small>Mangrove::Result</small>
|
115
115
|
</div>
|
116
116
|
</li>
|
117
117
|
|
118
118
|
|
119
119
|
<li class="even ">
|
120
120
|
<div class="item">
|
121
|
-
<span class='object_link'><a href="Mangrove/Result.html#and-instance_method" title="Mangrove::Result#and (method)">#and</a></span>
|
122
|
-
<small>Mangrove::Result</small>
|
121
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#and-instance_method" title="Mangrove::Result::Err#and (method)">#and</a></span>
|
122
|
+
<small>Mangrove::Result::Err</small>
|
123
123
|
</div>
|
124
124
|
</li>
|
125
125
|
|
126
126
|
|
127
127
|
<li class="odd ">
|
128
128
|
<div class="item">
|
129
|
-
<span class='object_link'><a href="Mangrove/Result/
|
130
|
-
<small>Mangrove::Result::
|
129
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#and-instance_method" title="Mangrove::Result::Ok#and (method)">#and</a></span>
|
130
|
+
<small>Mangrove::Result::Ok</small>
|
131
131
|
</div>
|
132
132
|
</li>
|
133
133
|
|
@@ -158,16 +158,16 @@
|
|
158
158
|
|
159
159
|
<li class="odd ">
|
160
160
|
<div class="item">
|
161
|
-
<span class='object_link'><a href="Mangrove/Result/
|
162
|
-
<small>Mangrove::Result::
|
161
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#and_then_wt-instance_method" title="Mangrove::Result::Ok#and_then_wt (method)">#and_then_wt</a></span>
|
162
|
+
<small>Mangrove::Result::Ok</small>
|
163
163
|
</div>
|
164
164
|
</li>
|
165
165
|
|
166
166
|
|
167
167
|
<li class="even ">
|
168
168
|
<div class="item">
|
169
|
-
<span class='object_link'><a href="Mangrove/Result/
|
170
|
-
<small>Mangrove::Result::
|
169
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#and_then_wt-instance_method" title="Mangrove::Result::Err#and_then_wt (method)">#and_then_wt</a></span>
|
170
|
+
<small>Mangrove::Result::Err</small>
|
171
171
|
</div>
|
172
172
|
</li>
|
173
173
|
|
@@ -190,16 +190,16 @@
|
|
190
190
|
|
191
191
|
<li class="odd ">
|
192
192
|
<div class="item">
|
193
|
-
<span class='object_link'><a href="Mangrove/Result/
|
194
|
-
<small>Mangrove::Result::
|
193
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#err%3F-instance_method" title="Mangrove::Result::Err#err? (method)">#err?</a></span>
|
194
|
+
<small>Mangrove::Result::Err</small>
|
195
195
|
</div>
|
196
196
|
</li>
|
197
197
|
|
198
198
|
|
199
199
|
<li class="even ">
|
200
200
|
<div class="item">
|
201
|
-
<span class='object_link'><a href="Mangrove/Result/
|
202
|
-
<small>Mangrove::Result::
|
201
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#err%3F-instance_method" title="Mangrove::Result::Ok#err? (method)">#err?</a></span>
|
202
|
+
<small>Mangrove::Result::Ok</small>
|
203
203
|
</div>
|
204
204
|
</li>
|
205
205
|
|
@@ -221,6 +221,14 @@
|
|
221
221
|
|
222
222
|
|
223
223
|
<li class="odd ">
|
224
|
+
<div class="item">
|
225
|
+
<span class='object_link'><a href="Mangrove/Result.html#err_wt-class_method" title="Mangrove::Result.err_wt (method)">err_wt</a></span>
|
226
|
+
<small>Mangrove::Result</small>
|
227
|
+
</div>
|
228
|
+
</li>
|
229
|
+
|
230
|
+
|
231
|
+
<li class="even ">
|
224
232
|
<div class="item">
|
225
233
|
<span class='object_link'><a href="Mangrove/Option.html#expect!-instance_method" title="Mangrove::Option#expect! (method)">#expect!</a></span>
|
226
234
|
<small>Mangrove::Option</small>
|
@@ -228,6 +236,14 @@
|
|
228
236
|
</li>
|
229
237
|
|
230
238
|
|
239
|
+
<li class="odd ">
|
240
|
+
<div class="item">
|
241
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#expect!-instance_method" title="Mangrove::Option::Some#expect! (method)">#expect!</a></span>
|
242
|
+
<small>Mangrove::Option::Some</small>
|
243
|
+
</div>
|
244
|
+
</li>
|
245
|
+
|
246
|
+
|
231
247
|
<li class="even ">
|
232
248
|
<div class="item">
|
233
249
|
<span class='object_link'><a href="Mangrove/Option/None.html#expect!-instance_method" title="Mangrove::Option::None#expect! (method)">#expect!</a></span>
|
@@ -262,16 +278,16 @@
|
|
262
278
|
|
263
279
|
<li class="even ">
|
264
280
|
<div class="item">
|
265
|
-
<span class='object_link'><a href="Mangrove/Option
|
266
|
-
<small>Mangrove::Option
|
281
|
+
<span class='object_link'><a href="Mangrove/Option.html#expect_with!-instance_method" title="Mangrove::Option#expect_with! (method)">#expect_with!</a></span>
|
282
|
+
<small>Mangrove::Option</small>
|
267
283
|
</div>
|
268
284
|
</li>
|
269
285
|
|
270
286
|
|
271
287
|
<li class="odd ">
|
272
288
|
<div class="item">
|
273
|
-
<span class='object_link'><a href="Mangrove/
|
274
|
-
<small>Mangrove::
|
289
|
+
<span class='object_link'><a href="Mangrove/Result.html#expect_with!-instance_method" title="Mangrove::Result#expect_with! (method)">#expect_with!</a></span>
|
290
|
+
<small>Mangrove::Result</small>
|
275
291
|
</div>
|
276
292
|
</li>
|
277
293
|
|
@@ -309,14 +325,6 @@
|
|
309
325
|
|
310
326
|
|
311
327
|
<li class="even ">
|
312
|
-
<div class="item">
|
313
|
-
<span class='object_link'><a href="Mangrove/Result.html#expect_with!-instance_method" title="Mangrove::Result#expect_with! (method)">#expect_with!</a></span>
|
314
|
-
<small>Mangrove::Result</small>
|
315
|
-
</div>
|
316
|
-
</li>
|
317
|
-
|
318
|
-
|
319
|
-
<li class="odd ">
|
320
328
|
<div class="item">
|
321
329
|
<span class='object_link'><a href="Mangrove/Option.html#from_nilable-class_method" title="Mangrove::Option.from_nilable (method)">from_nilable</a></span>
|
322
330
|
<small>Mangrove::Option</small>
|
@@ -324,7 +332,7 @@
|
|
324
332
|
</li>
|
325
333
|
|
326
334
|
|
327
|
-
<li class="
|
335
|
+
<li class="odd ">
|
328
336
|
<div class="item">
|
329
337
|
<span class='object_link'><a href="Mangrove/Result.html#from_results-class_method" title="Mangrove::Result.from_results (method)">from_results</a></span>
|
330
338
|
<small>Mangrove::Result</small>
|
@@ -332,7 +340,7 @@
|
|
332
340
|
</li>
|
333
341
|
|
334
342
|
|
335
|
-
<li class="
|
343
|
+
<li class="even ">
|
336
344
|
<div class="item">
|
337
345
|
<span class='object_link'><a href="Mangrove/Result/Ok.html#initialize-instance_method" title="Mangrove::Result::Ok#initialize (method)">#initialize</a></span>
|
338
346
|
<small>Mangrove::Result::Ok</small>
|
@@ -340,15 +348,15 @@
|
|
340
348
|
</li>
|
341
349
|
|
342
350
|
|
343
|
-
<li class="
|
351
|
+
<li class="odd ">
|
344
352
|
<div class="item">
|
345
|
-
<span class='object_link'><a href="Mangrove/
|
346
|
-
<small>Mangrove::
|
353
|
+
<span class='object_link'><a href="Mangrove/Result/ControlSignal.html#initialize-instance_method" title="Mangrove::Result::ControlSignal#initialize (method)">#initialize</a></span>
|
354
|
+
<small>Mangrove::Result::ControlSignal</small>
|
347
355
|
</div>
|
348
356
|
</li>
|
349
357
|
|
350
358
|
|
351
|
-
<li class="
|
359
|
+
<li class="even ">
|
352
360
|
<div class="item">
|
353
361
|
<span class='object_link'><a href="Mangrove/Option/ControlSignal.html#initialize-instance_method" title="Mangrove::Option::ControlSignal#initialize (method)">#initialize</a></span>
|
354
362
|
<small>Mangrove::Option::ControlSignal</small>
|
@@ -356,15 +364,15 @@
|
|
356
364
|
</li>
|
357
365
|
|
358
366
|
|
359
|
-
<li class="
|
367
|
+
<li class="odd ">
|
360
368
|
<div class="item">
|
361
|
-
<span class='object_link'><a href="Mangrove/
|
362
|
-
<small>Mangrove::
|
369
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#initialize-instance_method" title="Mangrove::Option::Some#initialize (method)">#initialize</a></span>
|
370
|
+
<small>Mangrove::Option::Some</small>
|
363
371
|
</div>
|
364
372
|
</li>
|
365
373
|
|
366
374
|
|
367
|
-
<li class="
|
375
|
+
<li class="even ">
|
368
376
|
<div class="item">
|
369
377
|
<span class='object_link'><a href="Mangrove/Result/Err.html#initialize-instance_method" title="Mangrove::Result::Err#initialize (method)">#initialize</a></span>
|
370
378
|
<small>Mangrove::Result::Err</small>
|
@@ -372,7 +380,7 @@
|
|
372
380
|
</li>
|
373
381
|
|
374
382
|
|
375
|
-
<li class="
|
383
|
+
<li class="odd ">
|
376
384
|
<div class="item">
|
377
385
|
<span class='object_link'><a href="Mangrove/Result/ControlSignal.html#inner_value-instance_method" title="Mangrove::Result::ControlSignal#inner_value (method)">#inner_value</a></span>
|
378
386
|
<small>Mangrove::Result::ControlSignal</small>
|
@@ -380,14 +388,6 @@
|
|
380
388
|
</li>
|
381
389
|
|
382
390
|
|
383
|
-
<li class="odd ">
|
384
|
-
<div class="item">
|
385
|
-
<span class='object_link'><a href="Mangrove/ControlFlow/ControlSignal.html#inner_value-instance_method" title="Mangrove::ControlFlow::ControlSignal#inner_value (method)">#inner_value</a></span>
|
386
|
-
<small>Mangrove::ControlFlow::ControlSignal</small>
|
387
|
-
</div>
|
388
|
-
</li>
|
389
|
-
|
390
|
-
|
391
391
|
<li class="even ">
|
392
392
|
<div class="item">
|
393
393
|
<span class='object_link'><a href="Mangrove/Option/ControlSignal.html#inner_value-instance_method" title="Mangrove::Option::ControlSignal#inner_value (method)">#inner_value</a></span>
|
@@ -398,56 +398,56 @@
|
|
398
398
|
|
399
399
|
<li class="odd ">
|
400
400
|
<div class="item">
|
401
|
-
<span class='object_link'><a href="Mangrove/
|
402
|
-
<small>Mangrove::
|
401
|
+
<span class='object_link'><a href="Mangrove/ControlFlow/ControlSignal.html#inner_value-instance_method" title="Mangrove::ControlFlow::ControlSignal#inner_value (method)">#inner_value</a></span>
|
402
|
+
<small>Mangrove::ControlFlow::ControlSignal</small>
|
403
403
|
</div>
|
404
404
|
</li>
|
405
405
|
|
406
406
|
|
407
407
|
<li class="even ">
|
408
408
|
<div class="item">
|
409
|
-
<span class='object_link'><a href="Mangrove/
|
410
|
-
<small>Mangrove::
|
409
|
+
<span class='object_link'><a href="Mangrove/Result.html#map-instance_method" title="Mangrove::Result#map (method)">#map</a></span>
|
410
|
+
<small>Mangrove::Result</small>
|
411
411
|
</div>
|
412
412
|
</li>
|
413
413
|
|
414
414
|
|
415
415
|
<li class="odd ">
|
416
416
|
<div class="item">
|
417
|
-
<span class='object_link'><a href="Mangrove/Option
|
418
|
-
<small>Mangrove::Option
|
417
|
+
<span class='object_link'><a href="Mangrove/Option.html#map-instance_method" title="Mangrove::Option#map (method)">#map</a></span>
|
418
|
+
<small>Mangrove::Option</small>
|
419
419
|
</div>
|
420
420
|
</li>
|
421
421
|
|
422
422
|
|
423
423
|
<li class="even ">
|
424
424
|
<div class="item">
|
425
|
-
<span class='object_link'><a href="Mangrove/Option.html#map-instance_method" title="Mangrove::Option#map (method)">#map</a></span>
|
426
|
-
<small>Mangrove::Option</small>
|
425
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#map-instance_method" title="Mangrove::Option::None#map (method)">#map</a></span>
|
426
|
+
<small>Mangrove::Option::None</small>
|
427
427
|
</div>
|
428
428
|
</li>
|
429
429
|
|
430
430
|
|
431
431
|
<li class="odd ">
|
432
432
|
<div class="item">
|
433
|
-
<span class='object_link'><a href="Mangrove/Result/
|
434
|
-
<small>Mangrove::Result::
|
433
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#map-instance_method" title="Mangrove::Result::Err#map (method)">#map</a></span>
|
434
|
+
<small>Mangrove::Result::Err</small>
|
435
435
|
</div>
|
436
436
|
</li>
|
437
437
|
|
438
438
|
|
439
439
|
<li class="even ">
|
440
440
|
<div class="item">
|
441
|
-
<span class='object_link'><a href="Mangrove/Result/
|
442
|
-
<small>Mangrove::Result::
|
441
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#map-instance_method" title="Mangrove::Result::Ok#map (method)">#map</a></span>
|
442
|
+
<small>Mangrove::Result::Ok</small>
|
443
443
|
</div>
|
444
444
|
</li>
|
445
445
|
|
446
446
|
|
447
447
|
<li class="odd ">
|
448
448
|
<div class="item">
|
449
|
-
<span class='object_link'><a href="Mangrove/
|
450
|
-
<small>Mangrove::
|
449
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#map-instance_method" title="Mangrove::Option::Some#map (method)">#map</a></span>
|
450
|
+
<small>Mangrove::Option::Some</small>
|
451
451
|
</div>
|
452
452
|
</li>
|
453
453
|
|
@@ -462,16 +462,16 @@
|
|
462
462
|
|
463
463
|
<li class="odd ">
|
464
464
|
<div class="item">
|
465
|
-
<span class='object_link'><a href="Mangrove/Result/
|
466
|
-
<small>Mangrove::Result::
|
465
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#map_err-instance_method" title="Mangrove::Result::Err#map_err (method)">#map_err</a></span>
|
466
|
+
<small>Mangrove::Result::Err</small>
|
467
467
|
</div>
|
468
468
|
</li>
|
469
469
|
|
470
470
|
|
471
471
|
<li class="even ">
|
472
472
|
<div class="item">
|
473
|
-
<span class='object_link'><a href="Mangrove/Result.html#
|
474
|
-
<small>Mangrove::Result</small>
|
473
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#map_err-instance_method" title="Mangrove::Result::Ok#map_err (method)">#map_err</a></span>
|
474
|
+
<small>Mangrove::Result::Ok</small>
|
475
475
|
</div>
|
476
476
|
</li>
|
477
477
|
|
@@ -494,8 +494,8 @@
|
|
494
494
|
|
495
495
|
<li class="odd ">
|
496
496
|
<div class="item">
|
497
|
-
<span class='object_link'><a href="Mangrove/Result
|
498
|
-
<small>Mangrove::Result
|
497
|
+
<span class='object_link'><a href="Mangrove/Result.html#map_err_wt-instance_method" title="Mangrove::Result#map_err_wt (method)">#map_err_wt</a></span>
|
498
|
+
<small>Mangrove::Result</small>
|
499
499
|
</div>
|
500
500
|
</li>
|
501
501
|
|
@@ -518,8 +518,8 @@
|
|
518
518
|
|
519
519
|
<li class="even ">
|
520
520
|
<div class="item">
|
521
|
-
<span class='object_link'><a href="Mangrove/Result/
|
522
|
-
<small>Mangrove::Result::
|
521
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#map_ok-instance_method" title="Mangrove::Result::Ok#map_ok (method)">#map_ok</a></span>
|
522
|
+
<small>Mangrove::Result::Ok</small>
|
523
523
|
</div>
|
524
524
|
</li>
|
525
525
|
|
@@ -542,8 +542,8 @@
|
|
542
542
|
|
543
543
|
<li class="odd ">
|
544
544
|
<div class="item">
|
545
|
-
<span class='object_link'><a href="Mangrove/Result.html#
|
546
|
-
<small>Mangrove::Result</small>
|
545
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#map_ok_wt-instance_method" title="Mangrove::Result::Err#map_ok_wt (method)">#map_ok_wt</a></span>
|
546
|
+
<small>Mangrove::Result::Err</small>
|
547
547
|
</div>
|
548
548
|
</li>
|
549
549
|
|
@@ -558,16 +558,16 @@
|
|
558
558
|
|
559
559
|
<li class="odd ">
|
560
560
|
<div class="item">
|
561
|
-
<span class='object_link'><a href="Mangrove/Result
|
562
|
-
<small>Mangrove::Result
|
561
|
+
<span class='object_link'><a href="Mangrove/Result.html#map_wt-instance_method" title="Mangrove::Result#map_wt (method)">#map_wt</a></span>
|
562
|
+
<small>Mangrove::Result</small>
|
563
563
|
</div>
|
564
564
|
</li>
|
565
565
|
|
566
566
|
|
567
567
|
<li class="even ">
|
568
568
|
<div class="item">
|
569
|
-
<span class='object_link'><a href="Mangrove/
|
570
|
-
<small>Mangrove::
|
569
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#map_wt-instance_method" title="Mangrove::Result::Ok#map_wt (method)">#map_wt</a></span>
|
570
|
+
<small>Mangrove::Result::Ok</small>
|
571
571
|
</div>
|
572
572
|
</li>
|
573
573
|
|
@@ -589,6 +589,14 @@
|
|
589
589
|
|
590
590
|
|
591
591
|
<li class="odd ">
|
592
|
+
<div class="item">
|
593
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#none%3F-instance_method" title="Mangrove::Option::None#none? (method)">#none?</a></span>
|
594
|
+
<small>Mangrove::Option::None</small>
|
595
|
+
</div>
|
596
|
+
</li>
|
597
|
+
|
598
|
+
|
599
|
+
<li class="even ">
|
592
600
|
<div class="item">
|
593
601
|
<span class='object_link'><a href="Mangrove/Result.html#ok-class_method" title="Mangrove::Result.ok (method)">ok</a></span>
|
594
602
|
<small>Mangrove::Result</small>
|
@@ -596,6 +604,14 @@
|
|
596
604
|
</li>
|
597
605
|
|
598
606
|
|
607
|
+
<li class="odd ">
|
608
|
+
<div class="item">
|
609
|
+
<span class='object_link'><a href="Mangrove/Result.html#ok%3F-instance_method" title="Mangrove::Result#ok? (method)">#ok?</a></span>
|
610
|
+
<small>Mangrove::Result</small>
|
611
|
+
</div>
|
612
|
+
</li>
|
613
|
+
|
614
|
+
|
599
615
|
<li class="even ">
|
600
616
|
<div class="item">
|
601
617
|
<span class='object_link'><a href="Mangrove/Result/Ok.html#ok%3F-instance_method" title="Mangrove::Result::Ok#ok? (method)">#ok?</a></span>
|
@@ -614,32 +630,32 @@
|
|
614
630
|
|
615
631
|
<li class="even ">
|
616
632
|
<div class="item">
|
617
|
-
<span class='object_link'><a href="Mangrove/Result.html#
|
618
|
-
<small>Mangrove::Result</small>
|
633
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#ok_inner-instance_method" title="Mangrove::Result::Ok#ok_inner (method)">#ok_inner</a></span>
|
634
|
+
<small>Mangrove::Result::Ok</small>
|
619
635
|
</div>
|
620
636
|
</li>
|
621
637
|
|
622
638
|
|
623
639
|
<li class="odd ">
|
624
640
|
<div class="item">
|
625
|
-
<span class='object_link'><a href="Mangrove/Result
|
626
|
-
<small>Mangrove::Result
|
641
|
+
<span class='object_link'><a href="Mangrove/Result.html#ok_wt-class_method" title="Mangrove::Result.ok_wt (method)">ok_wt</a></span>
|
642
|
+
<small>Mangrove::Result</small>
|
627
643
|
</div>
|
628
644
|
</li>
|
629
645
|
|
630
646
|
|
631
647
|
<li class="even ">
|
632
648
|
<div class="item">
|
633
|
-
<span class='object_link'><a href="Mangrove/
|
634
|
-
<small>Mangrove::
|
649
|
+
<span class='object_link'><a href="Mangrove/Option.html#or-instance_method" title="Mangrove::Option#or (method)">#or</a></span>
|
650
|
+
<small>Mangrove::Option</small>
|
635
651
|
</div>
|
636
652
|
</li>
|
637
653
|
|
638
654
|
|
639
655
|
<li class="odd ">
|
640
656
|
<div class="item">
|
641
|
-
<span class='object_link'><a href="Mangrove/
|
642
|
-
<small>Mangrove::
|
657
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#or-instance_method" title="Mangrove::Result::Err#or (method)">#or</a></span>
|
658
|
+
<small>Mangrove::Result::Err</small>
|
643
659
|
</div>
|
644
660
|
</li>
|
645
661
|
|
@@ -662,88 +678,88 @@
|
|
662
678
|
|
663
679
|
<li class="even ">
|
664
680
|
<div class="item">
|
665
|
-
<span class='object_link'><a href="Mangrove/
|
666
|
-
<small>Mangrove::
|
681
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#or-instance_method" title="Mangrove::Option::None#or (method)">#or</a></span>
|
682
|
+
<small>Mangrove::Option::None</small>
|
667
683
|
</div>
|
668
684
|
</li>
|
669
685
|
|
670
686
|
|
671
687
|
<li class="odd ">
|
672
688
|
<div class="item">
|
673
|
-
<span class='object_link'><a href="Mangrove/
|
674
|
-
<small>Mangrove::
|
689
|
+
<span class='object_link'><a href="Mangrove/Result.html#or-instance_method" title="Mangrove::Result#or (method)">#or</a></span>
|
690
|
+
<small>Mangrove::Result</small>
|
675
691
|
</div>
|
676
692
|
</li>
|
677
693
|
|
678
694
|
|
679
695
|
<li class="even ">
|
680
696
|
<div class="item">
|
681
|
-
<span class='object_link'><a href="Mangrove/Result/
|
682
|
-
<small>Mangrove::Result::
|
697
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#or_else-instance_method" title="Mangrove::Result::Ok#or_else (method)">#or_else</a></span>
|
698
|
+
<small>Mangrove::Result::Ok</small>
|
683
699
|
</div>
|
684
700
|
</li>
|
685
701
|
|
686
702
|
|
687
703
|
<li class="odd ">
|
688
704
|
<div class="item">
|
689
|
-
<span class='object_link'><a href="Mangrove/Result
|
690
|
-
<small>Mangrove::Result
|
705
|
+
<span class='object_link'><a href="Mangrove/Result.html#or_else-instance_method" title="Mangrove::Result#or_else (method)">#or_else</a></span>
|
706
|
+
<small>Mangrove::Result</small>
|
691
707
|
</div>
|
692
708
|
</li>
|
693
709
|
|
694
710
|
|
695
711
|
<li class="even ">
|
696
712
|
<div class="item">
|
697
|
-
<span class='object_link'><a href="Mangrove/Result.html#or_else-instance_method" title="Mangrove::Result#or_else (method)">#or_else</a></span>
|
698
|
-
<small>Mangrove::Result</small>
|
713
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#or_else-instance_method" title="Mangrove::Result::Err#or_else (method)">#or_else</a></span>
|
714
|
+
<small>Mangrove::Result::Err</small>
|
699
715
|
</div>
|
700
716
|
</li>
|
701
717
|
|
702
718
|
|
703
719
|
<li class="odd ">
|
704
720
|
<div class="item">
|
705
|
-
<span class='object_link'><a href="Mangrove/Result.html#or_else_wt-instance_method" title="Mangrove::Result#or_else_wt (method)">#or_else_wt</a></span>
|
706
|
-
<small>Mangrove::Result</small>
|
721
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#or_else_wt-instance_method" title="Mangrove::Result::Err#or_else_wt (method)">#or_else_wt</a></span>
|
722
|
+
<small>Mangrove::Result::Err</small>
|
707
723
|
</div>
|
708
724
|
</li>
|
709
725
|
|
710
726
|
|
711
727
|
<li class="even ">
|
712
728
|
<div class="item">
|
713
|
-
<span class='object_link'><a href="Mangrove/Result
|
714
|
-
<small>Mangrove::Result
|
729
|
+
<span class='object_link'><a href="Mangrove/Result.html#or_else_wt-instance_method" title="Mangrove::Result#or_else_wt (method)">#or_else_wt</a></span>
|
730
|
+
<small>Mangrove::Result</small>
|
715
731
|
</div>
|
716
732
|
</li>
|
717
733
|
|
718
734
|
|
719
735
|
<li class="odd ">
|
720
736
|
<div class="item">
|
721
|
-
<span class='object_link'><a href="Mangrove/Result/
|
722
|
-
<small>Mangrove::Result::
|
737
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#or_else_wt-instance_method" title="Mangrove::Result::Ok#or_else_wt (method)">#or_else_wt</a></span>
|
738
|
+
<small>Mangrove::Result::Ok</small>
|
723
739
|
</div>
|
724
740
|
</li>
|
725
741
|
|
726
742
|
|
727
743
|
<li class="even ">
|
728
744
|
<div class="item">
|
729
|
-
<span class='object_link'><a href="Mangrove/Option.html#some%3F-instance_method" title="Mangrove::Option#some? (method)">#some?</a></span>
|
730
|
-
<small>Mangrove::Option</small>
|
745
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#some%3F-instance_method" title="Mangrove::Option::Some#some? (method)">#some?</a></span>
|
746
|
+
<small>Mangrove::Option::Some</small>
|
731
747
|
</div>
|
732
748
|
</li>
|
733
749
|
|
734
750
|
|
735
751
|
<li class="odd ">
|
736
752
|
<div class="item">
|
737
|
-
<span class='object_link'><a href="Mangrove/Option/
|
738
|
-
<small>Mangrove::Option::
|
753
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#some%3F-instance_method" title="Mangrove::Option::None#some? (method)">#some?</a></span>
|
754
|
+
<small>Mangrove::Option::None</small>
|
739
755
|
</div>
|
740
756
|
</li>
|
741
757
|
|
742
758
|
|
743
759
|
<li class="even ">
|
744
760
|
<div class="item">
|
745
|
-
<span class='object_link'><a href="Mangrove/Option
|
746
|
-
<small>Mangrove::Option
|
761
|
+
<span class='object_link'><a href="Mangrove/Option.html#some%3F-instance_method" title="Mangrove::Option#some? (method)">#some?</a></span>
|
762
|
+
<small>Mangrove::Option</small>
|
747
763
|
</div>
|
748
764
|
</li>
|
749
765
|
|
@@ -798,48 +814,48 @@
|
|
798
814
|
|
799
815
|
<li class="odd ">
|
800
816
|
<div class="item">
|
801
|
-
<span class='object_link'><a href="Mangrove/Result
|
802
|
-
<small>Mangrove::Result
|
817
|
+
<span class='object_link'><a href="Mangrove/Result.html#unwrap!-instance_method" title="Mangrove::Result#unwrap! (method)">#unwrap!</a></span>
|
818
|
+
<small>Mangrove::Result</small>
|
803
819
|
</div>
|
804
820
|
</li>
|
805
821
|
|
806
822
|
|
807
823
|
<li class="even ">
|
808
824
|
<div class="item">
|
809
|
-
<span class='object_link'><a href="Mangrove/
|
810
|
-
<small>Mangrove::
|
825
|
+
<span class='object_link'><a href="Mangrove/Result/Err.html#unwrap!-instance_method" title="Mangrove::Result::Err#unwrap! (method)">#unwrap!</a></span>
|
826
|
+
<small>Mangrove::Result::Err</small>
|
811
827
|
</div>
|
812
828
|
</li>
|
813
829
|
|
814
830
|
|
815
831
|
<li class="odd ">
|
816
832
|
<div class="item">
|
817
|
-
<span class='object_link'><a href="Mangrove/Result.html#unwrap!-instance_method" title="Mangrove::Result#unwrap! (method)">#unwrap!</a></span>
|
818
|
-
<small>Mangrove::Result</small>
|
833
|
+
<span class='object_link'><a href="Mangrove/Result/Ok.html#unwrap!-instance_method" title="Mangrove::Result::Ok#unwrap! (method)">#unwrap!</a></span>
|
834
|
+
<small>Mangrove::Result::Ok</small>
|
819
835
|
</div>
|
820
836
|
</li>
|
821
837
|
|
822
838
|
|
823
839
|
<li class="even ">
|
824
840
|
<div class="item">
|
825
|
-
<span class='object_link'><a href="Mangrove/
|
826
|
-
<small>Mangrove::
|
841
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#unwrap!-instance_method" title="Mangrove::Option::Some#unwrap! (method)">#unwrap!</a></span>
|
842
|
+
<small>Mangrove::Option::Some</small>
|
827
843
|
</div>
|
828
844
|
</li>
|
829
845
|
|
830
846
|
|
831
847
|
<li class="odd ">
|
832
848
|
<div class="item">
|
833
|
-
<span class='object_link'><a href="Mangrove/Option
|
834
|
-
<small>Mangrove::Option
|
849
|
+
<span class='object_link'><a href="Mangrove/Option.html#unwrap!-instance_method" title="Mangrove::Option#unwrap! (method)">#unwrap!</a></span>
|
850
|
+
<small>Mangrove::Option</small>
|
835
851
|
</div>
|
836
852
|
</li>
|
837
853
|
|
838
854
|
|
839
855
|
<li class="even ">
|
840
856
|
<div class="item">
|
841
|
-
<span class='object_link'><a href="Mangrove/Option.html#unwrap!-instance_method" title="Mangrove::Option#unwrap! (method)">#unwrap!</a></span>
|
842
|
-
<small>Mangrove::Option</small>
|
857
|
+
<span class='object_link'><a href="Mangrove/Option/None.html#unwrap!-instance_method" title="Mangrove::Option::None#unwrap! (method)">#unwrap!</a></span>
|
858
|
+
<small>Mangrove::Option::None</small>
|
843
859
|
</div>
|
844
860
|
</li>
|
845
861
|
|
@@ -854,16 +870,16 @@
|
|
854
870
|
|
855
871
|
<li class="even ">
|
856
872
|
<div class="item">
|
857
|
-
<span class='object_link'><a href="Mangrove/Option
|
858
|
-
<small>Mangrove::Option
|
873
|
+
<span class='object_link'><a href="Mangrove/Option.html#unwrap_or-instance_method" title="Mangrove::Option#unwrap_or (method)">#unwrap_or</a></span>
|
874
|
+
<small>Mangrove::Option</small>
|
859
875
|
</div>
|
860
876
|
</li>
|
861
877
|
|
862
878
|
|
863
879
|
<li class="odd ">
|
864
880
|
<div class="item">
|
865
|
-
<span class='object_link'><a href="Mangrove/Option.html#unwrap_or-instance_method" title="Mangrove::Option#unwrap_or (method)">#unwrap_or</a></span>
|
866
|
-
<small>Mangrove::Option</small>
|
881
|
+
<span class='object_link'><a href="Mangrove/Option/Some.html#unwrap_or-instance_method" title="Mangrove::Option::Some#unwrap_or (method)">#unwrap_or</a></span>
|
882
|
+
<small>Mangrove::Option::Some</small>
|
867
883
|
</div>
|
868
884
|
</li>
|
869
885
|
|