Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ min
Function
min
packages/typeclass/src/Semigroup.ts:51–51 ·
view source on GitHub ↗
(O: Order<A>)
Source
from the content-addressed store, hash-verified
49
* @since 0.24.0
50
*/
51
export
const
min = <A>(O: Order<A>): Semigroup<A> => make((self, that) => O(self, that) === -1 ? self : that)
52
53
/**
54
* `Semigroup` that returns last maximum of elements.
Callers
nothing calls this directly
Calls
1
make
Function · 0.70
Tested by
no test coverage detected