diff --git a/packages/squiggle-lang/src/rescript/Utility/Operation.res b/packages/squiggle-lang/src/rescript/Utility/Operation.res index 7bf732ea..de3f9c59 100644 --- a/packages/squiggle-lang/src/rescript/Utility/Operation.res +++ b/packages/squiggle-lang/src/rescript/Utility/Operation.res @@ -76,7 +76,9 @@ let logarithm = (a: float, b: float): result Error(ComplexNumberError) } +@genType module Algebraic = { + @genType type t = algebraicOperation let toFn: (t, float, float) => result = (x, a, b) => switch x {