You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FSharpPlus/Data/Free.fs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,11 @@ module Free =
62
62
loop y x
63
63
64
64
let inlinemap3(f:'T->'U->'V->'W)(x:Free<'``Functor<'T>``,'T>)(y:Free<'``Functor<'U>``,'U>)(z:Free<'``Functor<'V>``,'V>):Free<'``Functor<'W>``,'W>=
65
-
let recloop(y:Free<_,_>)(x:Free<_,_>)(z:Free<_,_>)=
65
+
let recloop(y:Free<_,_>)(z:Free<_,_>)(x:Free<_,_>)=
66
66
match run x with
67
-
| Pure x -> map2<'U,'V,'W,'``Functor<'U>``,'``Functor<Free<'Functor<'U>,'U>>``,'``Functor<Free<'Functor<'V>,'V>>``,'``Functor<Free<'Functor<'W>,'W>>``,'``Functor<'V>``,'``Functor<'W>``>(f x) y z : Free<'``Functor<'W>``,'W>
68
-
| Roll (x:^``Functor<Free<'Functor<'T>,'T>>``)-> Roll (Map.Invoke (loop y: Free<'``Functor<'T>``,'T>->_) x: '``Functor<Free<'Functor<'W>,'W>>``)
69
-
loop y x z
67
+
| Pure x -> map2<'U,'V,'W,'``Functor<'U>``,'``Functor<Free<'Functor<'U>,'U>>``,'``Functor<Free<'Functor<'W>,'W>>``,'``Functor<Free<'Functor<'V>,'V>>``,'``Functor<'V>``,'``Functor<'W>``>(f x) y z : Free<'``Functor<'W>``,'W>
68
+
| Roll (x:^``Functor<Free<'Functor<'T>,'T>>``)-> Roll (Map.Invoke (loop y z: Free<'``Functor<'T>``,'T>->_) x: '``Functor<Free<'Functor<'W>,'W>>``)
69
+
loop y z x
70
70
71
71
/// Folds the Free structure into a Monad
72
72
let inlinefold(f:'``Functor<'T>`` ->'``Monad<'T>``)(x:Free<'``Functor<'U>``,'U>):'``Monad<'U>`` =
@@ -105,4 +105,4 @@ type Free<'``functor<'t>``,'t> with
105
105
106
106
static memberDelay(x:unit ->Free<'``Functor<'T>``,'T>)= x ()
0 commit comments