From 6c282b0c7060221e76ca130b0af202d50e24a551 Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Tue, 5 Apr 2022 15:23:39 -0400 Subject: [PATCH] Added genType to XYShape to fix tests --- packages/squiggle-lang/src/rescript/utility/XYShape.res | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/squiggle-lang/src/rescript/utility/XYShape.res b/packages/squiggle-lang/src/rescript/utility/XYShape.res index ec2df9f8..aba9ec80 100644 --- a/packages/squiggle-lang/src/rescript/utility/XYShape.res +++ b/packages/squiggle-lang/src/rescript/utility/XYShape.res @@ -1,12 +1,16 @@ +@genType type xyShape = { xs: array, ys: array, } +@genType type interpolationStrategy = [ | #Stepwise | #Linear ] + +@genType type extrapolationStrategy = [ | #UseZero | #UseOutermostPoints