squiggle/packages/squiggle-lang/src/rescript/FunctionRegistry/FunctionRegistry_Library.res

25 lines
595 B
Plaintext
Raw Normal View History

let fnList = Belt.Array.concatMany([
2022-09-11 19:56:07 +00:00
FR_Builtin.library,
FR_Dict.library,
FR_Dist.library,
FR_Danger.library,
FR_Fn.library,
2022-07-20 06:06:10 +00:00
FR_Sampleset.library,
FR_List.library,
FR_Number.library,
FR_Pointset.library,
FR_Scoring.library,
2022-09-12 09:33:20 +00:00
FR_GenericDist.library,
FR_Units.library,
FR_Date.library,
FR_Mathjs.library,
2022-07-14 20:31:48 +00:00
])
let registry = FunctionRegistry_Core.Registry.make(fnList)
2022-09-11 23:07:34 +00:00
let call = FunctionRegistry_Core.Registry.call(registry)
2022-09-12 09:33:20 +00:00
let nonRegistryLambdas: array<(string, Reducer_T.lambdaValue)> = [
("mx", FR_GenericDist.mxLambda),
("mixture", FR_GenericDist.mxLambda),
]