Skip to content
This repository
tree: 86f8d60c78
Fetching contributors…

Cannot retrieve contributors at this time

file 44 lines (38 sloc) 1.068 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

LESSON 1: (cagdas)
1 Simple Expressions : int, char, string
> 1+2
> "Mary"
> 'a'
2 List and arrays
> [ 1; 2; 3 ]
> [
3 Functions on these things (length, uppercase) String.length, Array.length, List.length ...
4 Operations on string
5 Tuples

LESSON 2
1 Variables
2 Bindings
3 for-loops
4 Computing Conditions
5 ifthenelse and while-loop

LESSON 3 Creating functions (Cagdas)
1 Defining a one-argument function
2 Defining a multi-argument function
3 Returning multiple values
4 Partial application (Functions types)
5 Anonymous functions
6 Iterators (List.iter)

LESSON 4 Pattern-matching
1 Pattern-matching on ints
2 Pattern-matching on chars 'a'..'z'
3 Pattern-matching on tuples
4 Pattern-matching on lists
5 Pattern-matching on arrays
6 Exhaustiveness

LESSON 5 : Variant types
1 Variant types
2 Pattern-matching

LESSON 6: Records
1 Records (non mutable)
2 More about records (mutable)
3 Pattern-matching on records
Something went wrong with that request. Please try again.