Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ replace
Method
replace
packages/effect/src/Optic.ts:1131–1133 ·
view source on GitHub ↗
(a: A, _: S)
Source
from the content-addressed store, hash-verified
1129
this.set = set
1130
}
1131
override replace(a: A, _: S): S {
1132
return
this.set(a)
1133
}
1134
override modify(f: (a: A) => A): (s: S) => S {
1135
return
(s) => this.set(f(this.get(s)))
1136
}
Callers
15
fileToModuleName
Function · 0.45
snippets
Function · 0.45
Utils.ts
File · 0.45
processPath
Function · 0.45
toHttpApiPath
Function · 0.45
normalizePackagePath
Function · 0.45
escapeRegExp
Function · 0.45
parseLooseJSDocBlock
Function · 0.45
renderInlineLinks
Function · 0.45
normalizeSeeTarget
Function · 0.45
normalizeSignature
Function · 0.45
displaySignature
Function · 0.45
Calls
1
set
Method · 0.65
Tested by
3
normalizeSql
Function · 0.36
unquote
Function · 0.36
mapper
Function · 0.36