Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prettier/prettier
/ map
Function
map
tests/format/flow/flow-repo/rec/issue-598.js:17–17 ·
view source on GitHub ↗
(f: (_: typeof val) => B)
Source
from the content-addressed store, hash-verified
15
function
identity<A>(val: A): Functor<A> {
16
return
{
17
map<B>(f: (_: typeof val) => B): Functor<B> {
return
identity(f(val)) }
18
}
19
}
Callers
9
lti_implicit_instantiation.js
File · 0.85
test
Function · 0.85
object.js
File · 0.85
property-value.js
File · 0.85
rxjs_pipe.js
File · 0.85
functional_compose.js
File · 0.85
array-and-object.js
File · 0.85
minimal_pipeline_operator.js
File · 0.85
hack_pipeline_operator.js
File · 0.85
Calls
2
identity
Function · 0.70
f
Function · 0.50
Tested by
1
test
Function · 0.68