© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
D. YangIntroducing ReScripthttps://doi.org/10.1007/978-1-4842-8888-7_1

1. ReScript Basics

Danny Yang1  
(1)
Mountain View, CA, USA
 

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 ...

Get Introducing ReScript: Functional Programming for Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.