Merge branch 'reducer-dev' of github.com:quantified-uncertainty/squiggle into Umur-reducer-dev
This commit is contained in:
commit
335d54bb6b
|
@ -10,6 +10,7 @@ import {
|
||||||
continuousShape,
|
continuousShape,
|
||||||
discreteShape,
|
discreteShape,
|
||||||
distributionErrorToString,
|
distributionErrorToString,
|
||||||
|
internalCode,
|
||||||
} from "../rescript/TypescriptInterface.gen";
|
} from "../rescript/TypescriptInterface.gen";
|
||||||
export {
|
export {
|
||||||
makeSampleSetDist,
|
makeSampleSetDist,
|
||||||
|
@ -81,8 +82,6 @@ function tag<a, b>(x: a, y: b): tagged<a, b> {
|
||||||
return { tag: x, value: y };
|
return { tag: x, value: y };
|
||||||
}
|
}
|
||||||
|
|
||||||
export abstract class internalCode { protected opaque!: any }; /* simulate opaque types */
|
|
||||||
|
|
||||||
export type squiggleExpression =
|
export type squiggleExpression =
|
||||||
| tagged<"symbol", string>
|
| tagged<"symbol", string>
|
||||||
| tagged<"string", string>
|
| tagged<"string", string>
|
||||||
|
|
|
@ -54,3 +54,6 @@ let errorValueToString = Reducer_ErrorValue.errorToString
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
let distributionErrorToString = DistributionTypes.Error.toString
|
let distributionErrorToString = DistributionTypes.Error.toString
|
||||||
|
|
||||||
|
@genType
|
||||||
|
type internalCode = ReducerInterface_ExpressionValue.internalCode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user