Saturday, February 24, 2018

Pattern matching in ReasonML: destructuring, switch, if expressions



Table of contents for this series of posts: “What is ReasonML?” Complete rewrite of how patterns are introduced. In this blog post, we look at three features that are all related to pattern matching: destructuring, switch, and if expressions.

No comments:

Finite-State Machines, Part 1: Modeling with Haskell Data Types

Stateful programs often become complex beasts as they grow. Program state incohesively spread across a bunch of variables, spuriously guar...