Description
In this course, you will :
- How to programme in Reason.
- How to create simple data objects before progressing to more powerful tools like functions and data structures.
- Interactive quizzes and exercises will help you improve your language skills.
Syllabus :
1. A Brief Introduction
- The Nature of the Language
- Operators
- Expressions and Statements
2. Data Types
- Integers
- Booleans
- Floats
- Characters
- Strings
- Polymorphic Comparison
- Type Conversions
- Type Errors
3. Identifiers
- let Binding
- Type-Specific Identifiers
- Scope
- Type Definition
- Mutability
4. Data Structures
- Tuples
- Pattern Matching
- Records
- Nested Records
- Record Mutation
- Arrays
- Basic Array Functions
- Pattern Matching with Arrays
5. Conditional Expressions
- The if-else Expression
- Nested if-else
- The switch Keyword
- The Ternary Operator
6. Functions
- Function Definition
- Function Scope
- Currying
- Functions with Records
- Functions as Values
- Recursive Functions
- The Unit Data Type
- Labels
- Operator Functions
- Polymorphic Functions
7. Loops
- Introduction
- For Loops
- While Loops
8. Variants
- Variant Types
- Variant Constructors
- Examples of Variants
- The option Type
- Lists
- Further List Operations
9. Objects
- Object Creation
- Private Methods
- Open Objects
- Mutability