Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/samber/mo
/ Map
Method
Map
typeclass/monadic.go:5–5 ·
view source on GitHub ↗
(func(T) T)
Source
from the content-addressed store, hash-verified
3
type
Monadic[T any]
interface
{
4
ForEach(
func
(T))
5
Map(
func
(T) T) T
6
FlatMap(
func
(T) Monadic[T]) T
7
}
Callers
4
ExampleOption_Map_some
Function · 0.65
ExampleOption_Map_none
Function · 0.65
ExampleResult_Map_ok
Function · 0.65
ExampleResult_Map_err
Function · 0.65
Calls
no outgoing calls
Tested by
4
ExampleOption_Map_some
Function · 0.52
ExampleOption_Map_none
Function · 0.52
ExampleResult_Map_ok
Function · 0.52
ExampleResult_Map_err
Function · 0.52