UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

4 lines (3 loc) 201 B
import { Mappable } from "./main"; export declare function times<A>(repeats: number, fn: Mappable<number, A>): A[]; export declare function times(repeats: number): <A>(fn: Mappable<number, A>) => A[];