In this chapter, we’ll dive right into the basic concepts of ReScript: expressions, values, control flow, and binding. At the end of the chapter, we’ll use those concepts in a simple command-line program.
Expressions, Values, and Side Effects
Expressions are the fundamental building block of ReScript programs. In this section, we will be going over basic expressions in ReScript and their semantics – their meaning. Just like we can learn the English language by studying the meaning of words and sentences, we can learn ReScript by studying ...