Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
OAGr committed Oct 12, 2023
1 parent ce49c18 commit 3d7c374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/squiggle-lang/src/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function makeStdLib(): Bindings {
res = res.set(INDEX_LOOKUP_FUNCTION, vLambda(makeLookupLambda()));

// some lambdas can't be expressed in function registry (e.g. `mx` with its variadic number of parameters)
for (const [name, lambda] of nonRegistryLambdas()) {
for (const [name, lambda] of nonRegistryLambdas) {
res = res.set(name, vLambda(lambda));
}

Expand Down
2 changes: 1 addition & 1 deletion packages/squiggle-lang/src/library/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const fnList: FRFunction[] = [

export const registry = Registry.make(fnList);

export const nonRegistryLambdas: () => [string, Lambda][] = () => [
export const nonRegistryLambdas: [string, Lambda][] = [
["mx", mxLambda()],
["mixture", mxLambda()],
];
Expand Down

0 comments on commit 3d7c374

Please sign in to comment.