Get tests to pass for Reducer code
Value: [0.0001 to 0.04]
This commit is contained in:
parent
7e4477aeda
commit
d60aaa57f7
|
@ -10,6 +10,7 @@ import {
|
|||
continuousShape,
|
||||
discreteShape,
|
||||
distributionErrorToString,
|
||||
internalCode,
|
||||
} from "../rescript/TypescriptInterface.gen";
|
||||
export {
|
||||
makeSampleSetDist,
|
||||
|
@ -81,10 +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>
|
||||
|
|
|
@ -54,3 +54,6 @@ let errorValueToString = Reducer_ErrorValue.errorToString
|
|||
|
||||
@genType
|
||||
let distributionErrorToString = DistributionTypes.Error.toString
|
||||
|
||||
@genType
|
||||
type internalCode = ReducerInterface_ExpressionValue.internalCode
|
||||
|
|
Loading…
Reference in New Issue
Block a user