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:

How can you work with a JSON value if you know nothing about it?

I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...