Format
This commit is contained in:
parent
c5447b8d7a
commit
b502e21a0f
|
@ -430,7 +430,8 @@ module Registry = {
|
|||
let toJson = (r: registry) => r->E.A2.fmap(Function.toJson)
|
||||
|
||||
let allExamples = (r: registry) => r->E.A2.fmap(r => r.examples)->E.A.concatMany
|
||||
let allExamplesWithFns = (r: registry) => r->E.A2.fmap(fn => (fn.examples->E.A2.fmap(example => (fn, example))))->E.A.concatMany
|
||||
let allExamplesWithFns = (r: registry) =>
|
||||
r->E.A2.fmap(fn => fn.examples->E.A2.fmap(example => (fn, example)))->E.A.concatMany
|
||||
|
||||
let _exportedSubset = (r: registry): registry => r |> E.A.filter(r => !r.requiresNamespace)
|
||||
|
||||
|
|
|
@ -8,4 +8,4 @@ let registry = Belt.Array.concatMany([
|
|||
FR_Scoring.library,
|
||||
])
|
||||
|
||||
let dispatch = FunctionRegistry_Core.Registry.dispatch(registry)
|
||||
let dispatch = FunctionRegistry_Core.Registry.dispatch(registry)
|
||||
|
|
|
@ -21,4 +21,4 @@ let mathBindings: Bindings.t =
|
|||
|
||||
//TODO: This should be in a different place.
|
||||
let makeBindings = (previousBindings: Bindings.t): Bindings.t =>
|
||||
previousBindings->Bindings.defineModule("Math", mathBindings)
|
||||
previousBindings->Bindings.defineModule("Math", mathBindings)
|
||||
|
|
Loading…
Reference in New Issue
Block a user