This commit is contained in:
Umur Ozkul 2022-07-05 06:17:26 +02:00
parent f5f2d94fbc
commit 746ca695af

View File

@ -15,7 +15,8 @@ module FooImplementation = {
// As this is a Rescript module, functions can use other functions in this module // As this is a Rescript module, functions can use other functions in this module
// and in other stdLib modules implemented this way. // and in other stdLib modules implemented this way.
// Embedding function definitions in to switch statements is a bad practice // Embedding function definitions in to switch statements is a bad practice
// - to reduce line count or to let fooNumber = 0.0 // - to reduce line count or to
let fooNumber = 0.0
let fooString = "Foo String" let fooString = "Foo String"
let fooBool = true let fooBool = true
let makeFoo = (a: string, b: string, _environment): string => `I am ${a}-foo and I am ${b}-foo` let makeFoo = (a: string, b: string, _environment): string => `I am ${a}-foo and I am ${b}-foo`