Minor fixes
This commit is contained in:
parent
e1374ee69b
commit
d79c4baa9d
|
@ -38,7 +38,7 @@ module ExpressionTree = {
|
||||||
type t = environment
|
type t = environment
|
||||||
let empty:t = [||]->Belt.Map.String.fromArray
|
let empty:t = [||]->Belt.Map.String.fromArray
|
||||||
let update = (t,str, fn) => Belt.Map.String.update(t, str, fn)
|
let update = (t,str, fn) => Belt.Map.String.update(t, str, fn)
|
||||||
let get = (t,str) => Belt.Map.String.get(t, str)
|
let get = (t:t,str) => Belt.Map.String.get(t, str)
|
||||||
}
|
}
|
||||||
|
|
||||||
type evaluationParams = {
|
type evaluationParams = {
|
||||||
|
|
|
@ -127,7 +127,7 @@ module Internals = {
|
||||||
let inputsToShape = (inputs: inputs) => {
|
let inputsToShape = (inputs: inputs) => {
|
||||||
MathJsParser.fromString(inputs.guesstimatorString, inputs.environment)
|
MathJsParser.fromString(inputs.guesstimatorString, inputs.environment)
|
||||||
|> E.R.bind(_, g => runProgram(inputs, g))
|
|> E.R.bind(_, g => runProgram(inputs, g))
|
||||||
|> E.R.bind(_, r => E.A.last(r) |> E.O.toResult("sdf"));
|
|> E.R.bind(_, r => E.A.last(r) |> E.O.toResult("No rendered lines"));
|
||||||
};
|
};
|
||||||
|
|
||||||
let outputToDistPlus = (inputs: Inputs.inputs, shape: DistTypes.shape) => {
|
let outputToDistPlus = (inputs: Inputs.inputs, shape: DistTypes.shape) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user