Sample pack - vilinski/nemerle GitHub Wiki
Intro
Basic
Arithmetic
Types and Functions
- Basic types print
- Declaring and calling inner functions
- Declaring and calling anonymous function lambda expressions
- Declaring a simple recursive function
- Using the Set type
- Using the Map type
- typeof operator
- typeof operator extended
- Using interfaces
- Upcast and downcast
- Generic Type
- Recursive definitions with variant
- Mutual definitions with records
- Define function
- Create disposal function
For and While Loops
Enum, Struct, and Class
- Enumerations
- Structs
- Constructing Classes
- Classes with methods and properties
- Define Class
- Define a class with mutable variable
Others
- Basic 'using' keyword Usage
- Use implicit match in function
- Read Entire CSV File, .NET-style
- Bitwise Integer Operations
Exceptions
Array and Sequence
- Basic Array Construction
- Using System.Collections.Generic.Dictionary
- Using arrays
- Using Tuples
- Tuple to list
- List to Tuple
- Basic Construction
- Basic List Construction
- Basic List Construction 2
- Lists and Pattern Matching
- Lists and 'Map'
- Lists and Iteration
- Lists and Indexed Iteration
- Lists and Folding
- Lists and Filter
- Lists and MapFiltered
- Using .Map
- Using Fold extended
- Using Where
Options, Union, and Record
- Simple options
- Using options for data
- Using Structural Hashing
- Basic Variants
- Variants as Trees
- Basic Records
- Records with Members
- Define a mutable record
Operators
Macro library
Intermediate
Quotation:
[Copyright ©](Terms of use, legal notice)