Functors are mappings from modules to modules. This blog post explains how they work and why they are useful.
In this blog post, we look at polymorphic variants, which are a more flexible version of normal variants. But that flexibility also makes them more complicated.
In this blog post, we look at two ReasonML data structures – lists and arrays:
Variant types (short: variants) are a data type supported by many functional programming languages. They are an important ingredient in ReasonML that is not available in C-style languages (C, C++, Java, C#, etc.). This blog post explains how they work.
In this blog post, we explore how modules work in ReasonML.
This blog post explores how functions work in ReasonML.
switch
, if
expressionsIn this blog post, we look at three features that are all related to pattern matching: destructuring, switch
, and if
expressions.
let
bindings and scopesIn this blog post, we look at how to introduce new variables and scopes in ReasonML.
In this blog post, we’ll look at ReasonML’s support for booleans, integers, floats, strings, characters and the unit type. We’ll also see a few operators in action.
To explore, we’ll use the interactive ReasonML command line rtop
, which is part of the package reason-cli
(the manual explains how to install it).