comment
This commit is contained in:
parent
6edacc78e4
commit
742fc10e0d
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user