Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ constant
Function
constant
packages/typeclass/src/Semigroup.ts:65–65 ·
view source on GitHub ↗
(a: A)
Source
from the content-addressed store, hash-verified
63
* @since 0.24.0
64
*/
65
export
const
constant = <A>(a: A): Semigroup<A> => make(() => a, () => a)
66
67
/**
68
* The dual of a `Semigroup`, obtained by flipping the arguments of `combine`.
Callers
13
DocArbitrary.ts
File · 0.85
get
Function · 0.85
MaxFieldSize
Class · 0.85
FieldMimeTypes
Class · 0.85
RouterConfig
Class · 0.85
streamEffect
Function · 0.85
RpcServer.ts
File · 0.85
updateWith
Function · 0.85
make
Function · 0.85
layer
Function · 0.85
layer
Function · 0.85
Sharding.ts
File · 0.85
Calls
1
make
Function · 0.70
Tested by
no test coverage detected