init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

36
node_modules/fp-ts/es6/Field.d.ts generated vendored Normal file
View File

@@ -0,0 +1,36 @@
/**
* Adapted from https://github.com/purescript/purescript-prelude/blob/master/src/Data/Field.purs
*
* @since 2.0.0
*/
import { Eq } from './Eq'
import { Ring } from './Ring'
/**
* @category model
* @since 2.0.0
*/
export interface Field<A> extends Ring<A> {
readonly degree: (a: A) => number
readonly div: (x: A, y: A) => A
readonly mod: (x: A, y: A) => A
}
/**
* The *greatest common divisor* of two values
*
* @since 2.0.0
*/
export declare function gcd<A>(E: Eq<A>, field: Field<A>): (x: A, y: A) => A
/**
* The *least common multiple* of two values
*
* @since 2.0.0
*/
export declare function lcm<A>(E: Eq<A>, F: Field<A>): (x: A, y: A) => A
/**
* Use [`Field`](./number.ts.html#field) instead.
*
* @category zone of death
* @since 2.0.0
* @deprecated
*/
export declare const fieldNumber: Field<number>