tweak: Add to dos to continue tomorrow

This commit is contained in:
NunoSempere 2022-09-04 20:07:10 +02:00
parent f82c00a6ed
commit b292a3e6fd

View File

@ -75,8 +75,13 @@ module Internals = {
result result
} }
let internalZero = ReducerInterface_InternalExpressionValue.IEvNumber(0.0) let internalZero = ReducerInterface_InternalExpressionValue.IEvNumber(0.0)
let applyFunctionAtZero = (aLambda) => applyFunctionAtPoint(aLambda, internalZero) let applyFunctionAtZero = (aLambda,environment , reducer) => applyFunctionAtPoint(aLambda, internalZero, environment, reducer)
let applyFunctionAtFloat = (aLambda, point, environment, reducer) => applyFunctionAtPoint(aLambda, ReducerInterface_InternalExpressionValue.IEvNumber(point))
let integrateFunction = (aLambda, min:float, max:float, increment, environment, reducer) => {
// Should be easy, but tired today.
0.0
}
let getDiminishingMarginalReturnsEquilibrium = "To do"
} }
let library = [ let library = [
@ -137,7 +142,7 @@ let library = [
~examples=[`Danger.applyFunctionAtZero({|x| x+1})`], ~examples=[`Danger.applyFunctionAtZero({|x| x+1})`],
~definitions=[ ~definitions=[
FnDefinition.make( FnDefinition.make(
~name="applyFunctionAtPoint", ~name="applyFunctionAtZero",
~inputs=[FRTypeLambda], ~inputs=[FRTypeLambda],
~run=(inputs, _, env, reducer) => ~run=(inputs, _, env, reducer) =>
switch inputs { switch inputs {