15 lines
549 B
TypeScript
15 lines
549 B
TypeScript
import * as RSLambda from "../rescript/ForTS/ForTS_SquiggleValue/ForTS_SquiggleValue_Lambda.gen";
|
|
import { SqError } from "./SqError";
|
|
import { SqValue } from "./SqValue";
|
|
import { SqValueLocation } from "./SqValueLocation";
|
|
import { result } from "./types";
|
|
declare type T = RSLambda.squiggleValue_Lambda;
|
|
export declare class SqLambda {
|
|
private _value;
|
|
location: SqValueLocation;
|
|
constructor(_value: T, location: SqValueLocation);
|
|
parameters(): string[];
|
|
call(args: (number | string)[]): result<SqValue, SqError>;
|
|
}
|
|
export {};
|