Update FunctionRegistry_Library.res

This commit is contained in:
Ozzie Gooen 2022-06-10 11:17:47 -07:00 committed by GitHub
parent 1acd4fc259
commit 844dfd369c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ let registry = [
Function.make( Function.make(
~name="Dict.toList", ~name="Dict.toList",
~definitions=[ ~definitions=[
FnDefinition.make(~name="toList", ~inputs=[FRTypeDict(FRTypeAny)], ~run=(inputs, _) => FnDefinition.make(~name="dictToList", ~inputs=[FRTypeDict(FRTypeAny)], ~run=(inputs, _) =>
switch inputs { switch inputs {
| [FRValueDict(dict)] => | [FRValueDict(dict)] =>
dict dict
@ -326,7 +326,7 @@ let registry = [
Function.make( Function.make(
~name="Dict.fromList", ~name="Dict.fromList",
~definitions=[ ~definitions=[
FnDefinition.make(~name="fromList", ~inputs=[FRTypeArray(FRTypeArray(FRTypeAny))], ~run=( FnDefinition.make(~name="dictFromList", ~inputs=[FRTypeArray(FRTypeArray(FRTypeAny))], ~run=(
inputs, inputs,
_, _,
) => { ) => {