diff --git a/packages/squiggle-lang/src/js/SqError.ts b/packages/squiggle-lang/src/js/SqError.ts index 59036830..a2bd1154 100644 --- a/packages/squiggle-lang/src/js/SqError.ts +++ b/packages/squiggle-lang/src/js/SqError.ts @@ -39,12 +39,12 @@ export class SqFrame { constructor(private _value: RSReducerT.frame) {} name(): string { - return RSFrameStack.Frame.toName(this._value); + return RSFrameStack.Frame.getName(this._value); } location() { console.log(RSFrameStack); console.log(RSFrameStack.Frame); - return RSFrameStack.Frame.toLocation(this._value); + return RSFrameStack.Frame.getLocation(this._value); } } diff --git a/packages/squiggle-lang/src/rescript/Reducer/Reducer_FrameStack.res b/packages/squiggle-lang/src/rescript/Reducer/Reducer_FrameStack.res index 02bb1cad..a1dfd691 100644 --- a/packages/squiggle-lang/src/rescript/Reducer/Reducer_FrameStack.res +++ b/packages/squiggle-lang/src/rescript/Reducer/Reducer_FrameStack.res @@ -13,10 +13,10 @@ module Frame = { } @genType - let toLocation = (t: Reducer_T.frame): option => t.location + let getLocation = (t: Reducer_T.frame): option => t.location @genType - let toName = (t: Reducer_T.frame): string => t.name + let getName = (t: Reducer_T.frame): string => t.name } let make = (): t => list{} diff --git a/packages/squiggle-lang/src/rescript/ReducerProject/ReducerProject_ProjectItem_T.res b/packages/squiggle-lang/src/rescript/ReducerProject/ReducerProject_ProjectItem_T.res index bcdbfa02..24e690eb 100644 --- a/packages/squiggle-lang/src/rescript/ReducerProject/ReducerProject_ProjectItem_T.res +++ b/packages/squiggle-lang/src/rescript/ReducerProject/ReducerProject_ProjectItem_T.res @@ -8,8 +8,6 @@ type rawParseType = option type expressionArgumentType = result type expressionType = option type continuationArgumentType = Reducer_T.namespace -type continuationType = option -type continuationResultType = option> type resultArgumentType = result type resultType = option type continuesArgumentType = array