@@ -25,7 +25,7 @@ module Result =
25
25
/// </code>
26
26
/// </example>
27
27
[<CompiledName( " Map" ) >]
28
- val map : mapping : ( 'T -> 'U ) -> result : Result < 'T , 'TError > -> Result < 'U , 'TError >
28
+ val inline map : mapping : ( 'T -> 'U ) -> result : Result < 'T , 'TError > -> Result < 'U , 'TError >
29
29
30
30
/// <summary><c>map f inp</c> evaluates to <c>match inp with Error x -> Error (f x) | Ok v -> Ok v</c>.</summary>
31
31
///
@@ -42,7 +42,7 @@ module Result =
42
42
/// </code>
43
43
/// </example>
44
44
[<CompiledName( " MapError" ) >]
45
- val mapError : mapping : ( 'TError -> 'U ) -> result : Result < 'T , 'TError > -> Result < 'T , 'U >
45
+ val inline mapError : mapping : ( 'TError -> 'U ) -> result : Result < 'T , 'TError > -> Result < 'T , 'U >
46
46
47
47
/// <summary><c>bind f inp</c> evaluates to <c>match inp with Error e -> Error e | Ok x -> f x</c></summary>
48
48
///
@@ -67,7 +67,7 @@ module Result =
67
67
/// </code>
68
68
/// </example>
69
69
[<CompiledName( " Bind" ) >]
70
- val bind : binder : ( 'T -> Result < 'U , 'TError >) -> result : Result < 'T , 'TError > -> Result < 'U , 'TError >
70
+ val inline bind : binder : ( 'T -> Result < 'U , 'TError >) -> result : Result < 'T , 'TError > -> Result < 'U , 'TError >
71
71
72
72
/// <summary>Returns true if the result is Ok.</summary>
73
73
/// <param name="result">The input result.</param>
@@ -112,7 +112,7 @@ module Result =
112
112
/// </code>
113
113
/// </example>
114
114
[<CompiledName( " DefaultValue" ) >]
115
- val defaultValue : value : 'T -> result : Result < 'T , 'Error > -> 'T
115
+ val inline defaultValue : value : 'T -> result : Result < 'T , 'Error > -> 'T
116
116
117
117
/// <summary>Gets the value of the result if the result is <c>Ok</c>, otherwise evaluates <paramref name="defThunk"/> and returns the result.</summary>
118
118
///
@@ -129,7 +129,7 @@ module Result =
129
129
/// </code>
130
130
/// </example>
131
131
[<CompiledName( " DefaultWith" ) >]
132
- val defaultWith : defThunk : ( 'Error -> 'T ) -> result : Result < 'T , 'Error > -> 'T
132
+ val inline defaultWith : defThunk : ( 'Error -> 'T ) -> result : Result < 'T , 'Error > -> 'T
133
133
134
134
/// <summary><c>count inp</c> evaluates to <c>match inp with Error _ -> 0 | Ok _ -> 1</c>.</summary>
135
135
///
@@ -144,7 +144,7 @@ module Result =
144
144
/// </code>
145
145
/// </example>
146
146
[<CompiledName( " Count" ) >]
147
- val count : result : Result < 'T , 'Error > -> int
147
+ val inline count : result : Result < 'T , 'Error > -> int
148
148
149
149
/// <summary><c>fold f s inp</c> evaluates to <c>match inp with Error _ -> s | Ok x -> f s x</c>.</summary>
150
150
///
@@ -163,7 +163,7 @@ module Result =
163
163
/// </code>
164
164
/// </example>
165
165
[<CompiledName( " Fold" ) >]
166
- val fold < 'T , 'Error , 'State > :
166
+ val inline fold < 'T , 'Error , 'State > :
167
167
folder: ( 'State -> 'T -> 'State) -> state: 'State -> result: Result< 'T, 'Error> -> 'State
168
168
169
169
/// <summary><c>fold f inp s</c> evaluates to <c>match inp with Error _ -> s | Ok x -> f x s</c>.</summary>
@@ -183,7 +183,7 @@ module Result =
183
183
/// </code>
184
184
/// </example>
185
185
[<CompiledName( " FoldBack" ) >]
186
- val foldBack < 'T , 'Error , 'State > :
186
+ val inline foldBack < 'T , 'Error , 'State > :
187
187
folder: ( 'T -> 'State -> 'State) -> result: Result< 'T, 'Error> -> state: 'State -> 'State
188
188
189
189
/// <summary><c>exists p inp</c> evaluates to <c>match inp with Error _ -> false | Ok x -> p x</c>.</summary>
@@ -202,7 +202,7 @@ module Result =
202
202
/// </code>
203
203
/// </example>
204
204
[<CompiledName( " Exists" ) >]
205
- val exists : predicate : ( 'T -> bool ) -> result : Result < 'T , 'Error > -> bool
205
+ val inline exists : predicate : ( 'T -> bool ) -> result : Result < 'T , 'Error > -> bool
206
206
207
207
/// <summary><c>forall p inp</c> evaluates to <c>match inp with Error _ -> true | Ok x -> p x</c>.</summary>
208
208
///
@@ -220,7 +220,7 @@ module Result =
220
220
/// </code>
221
221
/// </example>
222
222
[<CompiledName( " ForAll" ) >]
223
- val forall : predicate : ( 'T -> bool ) -> result : Result < 'T , 'Error > -> bool
223
+ val inline forall : predicate : ( 'T -> bool ) -> result : Result < 'T , 'Error > -> bool
224
224
225
225
/// <summary>Evaluates to true if <paramref name="result"/> is <c>Ok</c> and its value is equal to <paramref name="value"/>.</summary>
226
226
///
@@ -251,7 +251,7 @@ module Result =
251
251
/// </code>
252
252
/// </example>
253
253
[<CompiledName( " Iterate" ) >]
254
- val iter : action : ( 'T -> unit ) -> result : Result < 'T , 'Error > -> unit
254
+ val inline iter : action : ( 'T -> unit ) -> result : Result < 'T , 'Error > -> unit
255
255
256
256
/// <summary>Convert the result to an array of length 0 or 1.</summary>
257
257
///
@@ -266,7 +266,7 @@ module Result =
266
266
/// </code>
267
267
/// </example>
268
268
[<CompiledName( " ToArray" ) >]
269
- val toArray : result : Result < 'T , 'Error > -> 'T []
269
+ val inline toArray : result : Result < 'T , 'Error > -> 'T []
270
270
271
271
/// <summary>Convert the result to a list of length 0 or 1.</summary>
272
272
///
@@ -281,7 +281,7 @@ module Result =
281
281
/// </code>
282
282
/// </example>
283
283
[<CompiledName( " ToList" ) >]
284
- val toList : result : Result < 'T , 'Error > -> 'T list
284
+ val inline toList : result : Result < 'T , 'Error > -> 'T list
285
285
286
286
/// <summary>Convert the result to an Option value.</summary>
287
287
///
@@ -296,7 +296,7 @@ module Result =
296
296
/// </code>
297
297
/// </example>
298
298
[<CompiledName( " ToOption" ) >]
299
- val toOption : result : Result < 'T , 'Error > -> 'T option
299
+ val inline toOption : result : Result < 'T , 'Error > -> 'T option
300
300
301
301
/// <summary>Convert the result to an Option value.</summary>
302
302
///
@@ -311,4 +311,4 @@ module Result =
311
311
/// </code>
312
312
/// </example>
313
313
[<CompiledName( " ToValueOption" ) >]
314
- val toValueOption : result : Result < 'T , 'Error > -> 'T voption
314
+ val inline toValueOption : result : Result < 'T , 'Error > -> 'T voption
0 commit comments