Fix bundle errors

This commit is contained in:
Sam Nolan 2022-04-23 14:16:11 -04:00
parent 7e8c16b923
commit b44a955338

View File

@ -76,7 +76,9 @@ let logarithm = (a: float, b: float): result<float, Error.invalidOperationError>
Error(ComplexNumberError) Error(ComplexNumberError)
} }
@genType
module Algebraic = { module Algebraic = {
@genType
type t = algebraicOperation type t = algebraicOperation
let toFn: (t, float, float) => result<float, Error.invalidOperationError> = (x, a, b) => let toFn: (t, float, float) => result<float, Error.invalidOperationError> = (x, a, b) =>
switch x { switch x {