diff --git a/packages/squiggle-lang/__tests__/Reducer/Reducer_Module/Reducer_Module_defineFFI_test.res b/packages/squiggle-lang/__tests__/Reducer/Reducer_Module/Reducer_Module_defineFFI_test.res index 1cc238a9..7b6a5612 100644 --- a/packages/squiggle-lang/__tests__/Reducer/Reducer_Module/Reducer_Module_defineFFI_test.res +++ b/packages/squiggle-lang/__tests__/Reducer/Reducer_Module/Reducer_Module_defineFFI_test.res @@ -12,7 +12,10 @@ open Expect // ---------------------- module FooImplementation = { - let fooNumber = 0.0 + // As this is a Rescript module, functions can use other functions in this module + // and in other stdLib modules implemented this way. + // Embedding function definitions in to switch statements is a bad practice + // - to reduce line count or to let fooNumber = 0.0 let fooString = "Foo String" let fooBool = true let makeFoo = (a: string, b: string, _environment): string => `I am ${a}-foo and I am ${b}-foo`