time-to-botec/squiggle/node_modules/@quri/squiggle-lang/dist/src/js/SqLambda.d.ts
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

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 {};