Format reducer code

This commit is contained in:
Sam Nolan 2022-05-04 20:54:18 +00:00
parent 85b8333a09
commit 2cc4097021
2 changed files with 1 additions and 7 deletions

View File

@ -19,12 +19,7 @@ let foreignFunctionInterface = (
argArray: array<expressionValue>, argArray: array<expressionValue>,
environment: ExpressionValue.environment, environment: ExpressionValue.environment,
) => { ) => {
Lambda.foreignFunctionInterface( Lambda.foreignFunctionInterface(lambdaValue, argArray, environment, Expression.reduceExpression)
lambdaValue,
argArray,
environment,
Expression.reduceExpression,
)
} }
let defaultEnvironment = ExpressionValue.defaultEnvironment let defaultEnvironment = ExpressionValue.defaultEnvironment

View File

@ -12,7 +12,6 @@ type externalBindings = ReducerInterface_ExpressionValue.externalBindings
@genType @genType
type lambdaValue = ReducerInterface_ExpressionValue.lambdaValue type lambdaValue = ReducerInterface_ExpressionValue.lambdaValue
@genType @genType
let evaluateUsingOptions: ( let evaluateUsingOptions: (
~environment: option<QuriSquiggleLang.ReducerInterface_ExpressionValue.environment>, ~environment: option<QuriSquiggleLang.ReducerInterface_ExpressionValue.environment>,