Merge branch 'reducer-dev' of github.com:quantified-uncertainty/squiggle into Umur-reducer-dev

This commit is contained in:
Umur Ozkul 2022-04-25 17:42:43 +02:00
commit 335d54bb6b
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,7 @@ import {
continuousShape,
discreteShape,
distributionErrorToString,
internalCode,
} from "../rescript/TypescriptInterface.gen";
export {
makeSampleSetDist,
@ -81,8 +82,6 @@ function tag<a, b>(x: a, y: b): tagged<a, b> {
return { tag: x, value: y };
}
export abstract class internalCode { protected opaque!: any }; /* simulate opaque types */
export type squiggleExpression =
| tagged<"symbol", string>
| tagged<"string", string>

View File

@ -54,3 +54,6 @@ let errorValueToString = Reducer_ErrorValue.errorToString
@genType
let distributionErrorToString = DistributionTypes.Error.toString
@genType
type internalCode = ReducerInterface_ExpressionValue.internalCode