function composeimport { compose } from "https://deno.land/x/rambda@9.2.1/mod.ts"; compose<TArgs extends any[], R1, R2, R3, R4, R5, R6, R7, TResult>(...func: [(a: any) => TResult, Array<(a: any) => any>, (a: R6) => R7, (a: R5) => R6, (a: R4) => R5, (a: R3) => R4, (a: R2) => R3, (a: R1) => R2, (...args: TArgs) => R1, ]): (...args: TArgs) => TResultIt performs right-to-left function composition. compose<TArgs extends any[], R1, R2, R3, R4, R5, R6, R7, TResult>(f7: (a: R6) => R7,f6: (a: R5) => R6,f5: (a: R4) => R5,f4: (a: R3) => R4,f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R7compose<TArgs extends any[], R1, R2, R3, R4, R5, R6, R7>(f7: (a: R6) => R7,f6: (a: R5) => R6,f5: (a: R4) => R5,f4: (a: R3) => R4,f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R7compose<TArgs extends any[], R1, R2, R3, R4, R5, R6>(f6: (a: R5) => R6,f5: (a: R4) => R5,f4: (a: R3) => R4,f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R6compose<TArgs extends any[], R1, R2, R3, R4, R5>(f5: (a: R4) => R5,f4: (a: R3) => R4,f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R5compose<TArgs extends any[], R1, R2, R3, R4>(f4: (a: R3) => R4,f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R4compose<TArgs extends any[], R1, R2, R3>(f3: (a: R2) => R3,f2: (a: R1) => R2,f1: (...args: TArgs) => R1,): (...args: TArgs) => R3compose<TArgs extends any[], R1, R2>(f2: (a: R1) => R2, f1: (...args: TArgs) => R1): (...args: TArgs) => R2compose<TArgs extends any[], R1>(f1: (...args: TArgs) => R1): (...args: TArgs) => R1It performs right-to-left function composition. Type ParametersTArgs extends any[]R1R2R3R4R5R6R7TResultParameters...func: [(a: any) => TResult, Array<(a: any) => any>, (a: R6) => R7, (a: R5) => R6, (a: R4) => R5, (a: R3) => R4, (a: R2) => R3, (a: R1) => R2, (...args: TArgs) => R1, ]Returns(...args: TArgs) => TResultType ParametersTArgs extends any[]R1R2R3R4R5R6R7TResultParametersf7: (a: R6) => R7f6: (a: R5) => R6f5: (a: R4) => R5f4: (a: R3) => R4f3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R7Type ParametersTArgs extends any[]R1R2R3R4R5R6R7Parametersf7: (a: R6) => R7f6: (a: R5) => R6f5: (a: R4) => R5f4: (a: R3) => R4f3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R7Type ParametersTArgs extends any[]R1R2R3R4R5R6Parametersf6: (a: R5) => R6f5: (a: R4) => R5f4: (a: R3) => R4f3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R6Type ParametersTArgs extends any[]R1R2R3R4R5Parametersf5: (a: R4) => R5f4: (a: R3) => R4f3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R5Type ParametersTArgs extends any[]R1R2R3R4Parametersf4: (a: R3) => R4f3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R4Type ParametersTArgs extends any[]R1R2R3Parametersf3: (a: R2) => R3f2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R3Type ParametersTArgs extends any[]R1R2Parametersf2: (a: R1) => R2f1: (...args: TArgs) => R1Returns(...args: TArgs) => R2Type ParametersTArgs extends any[]R1Parametersf1: (...args: TArgs) => R1Returns(...args: TArgs) => R1