Renamed squiggle library to SquiggleExperimental
This commit is contained in:
parent
d3e50ad896
commit
748896fce1
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "squiggle-experimental",
|
||||
"name": "SquiggleExperimental",
|
||||
"reason": {},
|
||||
"sources": [
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "squiggle-experimental",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.8",
|
||||
"homepage": "https://foretold-app.github.io/estiband/",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
|
|
|
@ -37,11 +37,11 @@ module Inputs = {
|
|||
}
|
||||
|
||||
type \"export" = [
|
||||
| #DistPlus(ProbExample.DistPlus.t)
|
||||
| #DistPlus(SquiggleExperimental.DistPlus.t)
|
||||
| #Float(float)
|
||||
| #Function(
|
||||
(array<string>, ProbExample.ExpressionTypes.ExpressionTree.node),
|
||||
ProbExample.ExpressionTypes.ExpressionTree.environment,
|
||||
(array<string>, SquiggleExperimental.ExpressionTypes.ExpressionTree.node),
|
||||
SquiggleExperimental.ExpressionTypes.ExpressionTree.environment,
|
||||
)
|
||||
]
|
||||
|
||||
|
@ -124,7 +124,7 @@ let renderIfNeeded = (inputs: Inputs.inputs, node: ExpressionTypes.ExpressionTre
|
|||
// TODO: Consider using ExpressionTypes.ExpressionTree.getFloat or similar in this function
|
||||
let coersionToExportedTypes = (
|
||||
inputs,
|
||||
env: ProbExample.ExpressionTypes.ExpressionTree.environment,
|
||||
env: SquiggleExperimental.ExpressionTypes.ExpressionTree.environment,
|
||||
node: ExpressionTypes.ExpressionTree.node,
|
||||
): result<\"export", string> =>
|
||||
node
|
||||
|
|
|
@ -203,7 +203,7 @@ module MathAdtToDistDst = {
|
|||
nodeParser:
|
||||
MathJsonToMathJsAdt.arg =>
|
||||
Belt.Result.t(
|
||||
Squiggle-Website.ExpressionTypes.ExpressionTree.node,
|
||||
SquiggleExperimental.ExpressionTypes.ExpressionTree.node,
|
||||
string,
|
||||
),
|
||||
name: string,
|
||||
|
@ -344,6 +344,7 @@ let fromString2 = str => {
|
|||
});
|
||||
|
||||
let value = E.R.bind(mathJsParse, MathAdtToDistDst.run);
|
||||
Js.log2(mathJsParse, value);
|
||||
value;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user