HomeCoursesFunctional Programming with ReasonML
AI-powered learning
Save

Functional Programming with ReasonML

Explore ReasonML's growing popularity and its strong-typed syntax for JavaScript. Learn about creating data objects, functions, and data structures through interactive quizzes and exercises.

95 Lessons
7h
Updated today
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • Identify benefits of ReasonML static typing and how it differs from JavaScript type checking
  • Apply operators and precedence to perform arithmetic, comparison, and logical operations
  • Use core data types and conversions (int, float, bool, char, string) while avoiding type errors
  • Create identifiers with let bindings, type annotations, scope control, and ref-based mutability
  • Construct and manipulate tuples, records, and arrays using pattern matching and mutation techniques
  • Write functions using currying, recursion, labels, polymorphism, and functions as values
  • Build variants, option types, lists, and objects, using switch-based pattern matching to handle cases

Learning Roadmap

95 Lessons9 Quizzes14 Challenges

1.

A Brief Introduction

A Brief Introduction

Get familiar with ReasonML's basics, operators, expressions, and its future in app development.

2.

Data Types

Data Types

Grasp the fundamentals of ReasonML's data types, including integers, booleans, floats, and type conversions.

3.

Identifiers

Identifiers

9 Lessons

9 Lessons

Break apart and understand identifiers, let binding, type-specific identifiers, scope, and mutability in ReasonML.

4.

Data Structures

Data Structures

16 Lessons

16 Lessons

Grasp the fundamentals of ReasonML's data structures, including tuples, records, and arrays.

5.

Conditional Expressions

Conditional Expressions

10 Lessons

10 Lessons

Take a closer look at ReasonML's conditional constructs, including if-else, switch, and ternary operators.

6.

Functions

Functions

18 Lessons

18 Lessons

Focus on defining, scoping, currying, and utilizing functions and their recursive, polymorphic, and operational capabilities in ReasonML.

7.

Loops

Loops

8 Lessons

8 Lessons

Practice using ReasonML loops to efficiently handle repeated operations and iterative processes.

8.

Variants

Variants

12 Lessons

12 Lessons

Learn how to use variants, constructors, option types, and lists in ReasonML.

9.

Objects

Objects

8 Lessons

8 Lessons

Grasp objects' flexibility, creation, mutability, private methods, and open objects, with a calculator exercise.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameFunctional Programming with ReasonML
Developed by MAANG Engineers
Every Educative lesson is designed by a team of ex-MAANG software engineers and PhD computer science educators, and developed in consultation with developers and data scientists working at Meta, Google, and more. Our mission is to get you hands-on with the necessary skills to stay ahead in a constantly changing industry. No video, no fluff. Just interactive, project-based learning with personalized feedback that adapts to your goals and experience.
ABOUT THIS COURSE
ReasonML has been skyrocketing in popularity lately, and for good... reason. Very recently developed by Facebook, it provides users a strong-typed, clean, and efficient syntax for JavaScript, which makes it great for web development. This course will get you up to speed programming in Reason. You'll start by learning how to create simple data objects and build up to more powerful tools such as functions and data structures. Along the way, interactive quizzes and exercises will help you gain a stronger grasp of the language. Anyone looking to put themselves on the cutting-edge of web development would be well served to have a look at this course.

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing