Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

ReasonML: First Look

via LinkedIn Learning

Overview

Need a type-centric language for the web? Learn about the most salient features of ReasonML, a new syntax and toolchain that leverages the power of both JavaScript and OCaml.

Syllabus

Introduction
  • Why ReasonML could be the language for you
  • Base knowledge and setup
1. ReasonML Fundamentals
  • Variables and data types
  • Functions and annotations
  • Decisions with if and switch expressions
  • Output with Js.log()
  • Challenge: Quadratic formula
  • Solution: Quadratic formula
2. The ReasonML Type System
  • Creating your own data types
  • Say goodbye to null and undefined
  • Creating modules for reusable code
  • Using collection types
  • Creating record types
  • Challenge: Generating random cakes
  • Solution: Generating random cakes
3. Interoperating with JavaScript
  • Web pages with ReasonReact
Conclusion
  • Explore ReasonML resources

Taught by

J. David Eisenberg

Reviews

4.6 rating at LinkedIn Learning based on 5 ratings

Start your review of ReasonML: First Look

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.