init component
This commit is contained in:
18
node_modules/fp-ts/es6/Semiring.d.ts
generated
vendored
Normal file
18
node_modules/fp-ts/es6/Semiring.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @category model
|
||||
* @since 2.0.0
|
||||
*/
|
||||
export interface Semiring<A> {
|
||||
readonly add: (x: A, y: A) => A
|
||||
readonly zero: A
|
||||
readonly mul: (x: A, y: A) => A
|
||||
readonly one: A
|
||||
}
|
||||
/**
|
||||
* Use [`getSemiring`](./function.ts.html#getsemiring) instead.
|
||||
*
|
||||
* @category zone of death
|
||||
* @since 2.0.0
|
||||
* @deprecated
|
||||
*/
|
||||
export declare const getFunctionSemiring: <A, B>(S: Semiring<B>) => Semiring<(a: A) => B>
|
||||
Reference in New Issue
Block a user