time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

SqLambda.d.ts (928B)


      1 import { Env } from "../../dist/env.js";
      2 import { Lambda } from "../../reducer/lambda.js";
      3 import { result } from "../../utility/result.js";
      4 import { SqError } from "../SqError.js";
      5 import { SqValueContext } from "../SqValueContext.js";
      6 import { SqDomain } from "./SqDomain.js";
      7 import { SqValue } from "./index.js";
      8 export type SqLambdaParameter = {
      9     name: string;
     10     domain?: SqDomain;
     11     typeName?: string;
     12 };
     13 type SqLambdaSignature = SqLambdaParameter[];
     14 export declare class SqLambda {
     15     _value: Lambda;
     16     context?: SqValueContext | undefined;
     17     constructor(_value: Lambda, context?: SqValueContext | undefined);
     18     static createFromStdlibName(name: string): SqLambda;
     19     parameterCounts(): number[];
     20     signatures(): SqLambdaSignature[];
     21     call(args: SqValue[], env?: Env): result<SqValue, SqError>;
     22     toString(): string;
     23     parameterString(): string;
     24 }
     25 export {};
     26 //# sourceMappingURL=SqLambda.d.ts.map