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).
this
in JavaScriptIn this blog post, I take a different approach to explaining this
in JavaScript: I pretend that arrow functions are the real functions and ordinary functions a special construct for methods. I think it makes this
easier to understand – give it a try.
for-await-of
and synchronous iterablesThis blog post describes how for-await-of
handles synchronous iterables. for-await-of
is a core construct of asynchronous iteration. You can read up on it in the blog post “ES proposal: asynchronous iteration”.
This blog post takes a brief look of a few key pieces of ReasonML that are still being worked on:
In this blog post, I give tips for getting started with the programming language ReasonML.
This blog post gives a brief high-level explanation of Facebook’s new programming language, ReasonML.
In this blog post I explain why, in my opinion, currying is in conflict with some of JavaScript’s foundations.
import.meta
– module metadataThe proposal “import.meta
” by Domenic Denicola is currently at stage 3. This blog post explains how it works.
In this blog post, I explain how you can trace method calls via ECMAScript Proxies. The techniques I show are relevant whenever you want to intercept and forward method calls via Proxies.
Starting with version 8.5.0, Node.js supports ES modules natively, behind a command line option. Most of the credit for this new functionality goes to Bradley Farias.
This blog post explains the details.