Skip to content

Commit 7a36bbb

Browse files
committed
Align code
1 parent 4f8ab5c commit 7a36bbb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/FSharpPlus/Control/Applicative.fs

+3-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ type Apply =
3737
static member ``<*>`` (struct (f: Result<_,'E> , x: Result<'T,'E> ), _output: Result<'b,'E> , [<Optional>]_mthd: Apply) = Result.apply f x : Result<'U,'E>
3838
static member ``<*>`` (struct (f: Choice<_,'E> , x: Choice<'T,'E> ), _output: Choice<'b,'E> , [<Optional>]_mthd: Apply) = Choice.apply f x : Choice<'U,'E>
3939
static member inline ``<*>`` (struct (KeyValue(a: 'Key, f), KeyValue(b: 'Key, x: 'T)), _output: KeyValuePair<'Key,'U>, [<Optional>]_mthd: Default3) : KeyValuePair<'Key,'U> = KeyValuePair (Plus.Invoke a b, f x)
40-
static member inline ``<*>`` (struct (f: KeyValuePair2<'Key, _>, x: KeyValuePair2<'Key, 'T>), _output: KeyValuePair2<'Key,'U>, [<Optional>]_mthd: Default3) : KeyValuePair2<'Key,'U> =
41-
let a = f.Key
42-
let b = x.Key
43-
let f = f.Value
44-
let x = x.Value
40+
static member inline ``<*>`` (struct (f: KeyValuePair2<_,_>, x: KeyValuePair2<_,'T> ), _output: KeyValuePair2<_,'U> , [<Optional>]_mthd: Default3) : KeyValuePair2<'Key,'U> =
41+
let a, b = f.Key, x.Key
42+
let f, x = f.Value, x.Value
4543
KeyValuePair2 (Plus.Invoke a b, f x)
4644

4745
static member ``<*>`` (struct (f: Map<'Key,_> , x: Map<'Key,'T> ) , _output: Map<'Key,'U> , [<Optional>]_mthd: Apply) : Map<'Key,'U> = Map (seq {

0 commit comments

Comments
 (0)