AI-powered learning
Save this course
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
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.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
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
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies

