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:1146–1148 ·
view source on GitHub ↗
(a: A, _: S)
Source
from the content-addressed store, hash-verified
1144
this.set = set
1145
}
1146
override replace(a: A, _: S): S {
1147
return
this.set(a)
1148
}
1149
override modify(f: (a: A) => A): (s: S) => S {
1150
return
(s) => this.set(f(this.get(s)))
1151
}
Callers
15
fileToModuleName
Function · 0.45
snippets
Function · 0.45
Utils.ts
File · 0.45
toHttpApiPath
Function · 0.45
githubClient
Function · 0.45
encodePackageName
Function · 0.45
rewriteNot
Function · 0.45
normalizePackagePath
Function · 0.45
escapeRegExp
Function · 0.45
resolveJSDocImports
Function · 0.45
parseLooseJSDocBlock
Function · 0.45
renderInlineLinks
Function · 0.45
Calls
1
set
Method · 0.65
Tested by
15
githubClient
Function · 0.36
normalizeSql
Function · 0.36
unquote
Function · 0.36
dumpConnection
Function · 0.36
plan
Function · 0.36
decode
Function · 0.36
encodeRfc3986
Function · 0.36
makeSocketServer
Function · 0.36
text
Function · 0.36
text
Function · 0.36
uuidString
Function · 0.36
mapper
Function · 0.36