Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ flip
Function
flip
packages/effect/src/Reducer.ts:169–171 ·
view source on GitHub ↗
(reducer: Reducer<A>)
Source
from the content-addressed store, hash-verified
167
* @since 4.0.0
168
*/
169
export
function
flip<A>(reducer: Reducer<A>): Reducer<A> {
170
return
make((self, that) => reducer.combine(that, self), reducer.initialValue)
171
}
Callers
nothing calls this directly
Calls
2
make
Function · 0.70
combine
Method · 0.65
Tested by
no test coverage detected