1 | export declare class Cons<A> {
|
2 | value: A;
|
3 | next: Cons<A> | undefined;
|
4 | constructor(value: A, next: Cons<A> | undefined);
|
5 | toArray(): A[];
|
6 | nth(index: number): A | undefined;
|
7 | }
|
8 | export declare function copyFirst<A>(n: number, list: Cons<A>): Cons<A>;
|
9 | export declare function concat<A>(a: Cons<A>, b: Cons<A>): Cons<A>;
|