Minor cleanup

This commit is contained in:
Ozzie Gooen 2020-07-31 19:07:44 +01:00
parent e266e6557c
commit 0d395c7b96

View File

@ -245,17 +245,6 @@ module MathAdtToDistDst = {
ags |> E.A.fmap(nodeParser) |> E.A.R.firstErrorOrOpen; ags |> E.A.fmap(nodeParser) |> E.A.R.firstErrorOrOpen;
let parseArgs = () => parseArray(args); let parseArgs = () => parseArray(args);
switch (name) { switch (name) {
| "normal"
| "uniform"
| "beta"
| "triangular"
| "to"
| "exponential"
| "cauchy" =>
parseArgs()
|> E.R.fmap((args: array(ExpressionTypes.ExpressionTree.node)) =>
`FunctionCall((name, args))
)
| "lognormal" => lognormal(args, parseArgs, nodeParser) | "lognormal" => lognormal(args, parseArgs, nodeParser)
| "mm" => | "mm" =>
let weights = let weights =