Log In
Join
 for free
Back To Course Home
Functional Programming with ReasonML
0% completed
A Brief Introduction
The Nature of the Language
Operators
Expressions and Statements
Quiz
Data Types
Introduction
Integers
Booleans
Floats
Characters
Strings
Polymorphic Comparison
Type Conversions
Type Errors
Quiz
Identifiers
Introduction
let Binding
Type-Specific Identifiers
Scope
Type Definition
Mutability
Quiz
Exercise: Mutable Integers
Solution Review: Mutable Integers
Data Structures
Introduction
Tuples
Pattern Matching
Records
Nested Records
Record Mutation
Arrays
Basic Array Functions
Pattern Matching with Arrays
Quiz
Exercise: Pattern Matching with Nested Tuples
Solution Review: Pattern Matching with Nested Tuples
Exercise: Mutable Nested Fields
Solution Review: Mutable Nested Fields
Exercise: Palindromic Arrays
Solution Review: Palindromic Arrays
Conditional Expressions
Introduction
The if-else Expression
Nested if-else
The switch Keyword
The Ternary Operator
Quiz
Exercise: String Comparison
Solution Review: String Comparison
Exercise: Number Sequence
Solution Review: Number Sequence
Functions
Introduction
Function Definition
Function Scope
Currying
Functions with Records
Functions as Values
Recursive Functions
The Unit Data Type
Labels
Operator Functions
Polymorphic Functions
Quiz
Exercise: Celsius to Fahrenheit
Solution Review: Celsius to Fahrenheit
Exercise: The Factorial of a Number
Solution Review: The Factorial of a Number
Exercise: Tuples from Records
Solution Review: Tuples from Records
Loops
Introduction
For Loops
While Loops
Quiz
Exercise: Find the Minimum in an Array
Solution Review: Find the Minimum in an Array
Exercise: The Factorial of a Number (Loops)
Solution Review: The Factorial of a Number (Loops)
Variants
Introduction
Variant Types
Variant Constructors
Examples of Variants
The option Type
Lists
Further List Operations
Quiz
Exercise: Count Even Integers in a List
Solution Review: Count Even Integers in a List
Exercise: Pedestrian Movement
Solution Review: Pedestrian Movement
Objects
Introduction
Object Creation
Private Methods
Open Objects
Mutability
Quiz
Exercise: The Calculator Object
Solution Review: The Calculator Object
Quiz
Test your knowledge on variants with this quiz!
Get hands-on with 1400+ tech skills courses.
Start Free Trial