User's Guide
PDF
Top
Programming Examples
User's Guide
Version 6.1
Expand All
Contract All
Chapters
Records
Top of chapter
Records vs Tuples
Defining a Record
Creating a Record
Accessing a Record Field
Updating a Record
Type Testing
Pattern Matching
Nested Records
Example
Funs
Top of chapter
Example 1 - map
Example 2 - foreach
The Syntax of Funs
Variable Bindings Within a Fun
Funs and the Module Lists
Funs Which Return Funs
List Comprehensions
Top of chapter
Simple Examples
Quick Sort
Permutations
Pythagorean Triplets
Simplifications with List Comprehensions
Variable Bindings in List Comprehensions
Bit Syntax
Top of chapter
Introduction
A Lexical Note
Segments
Defaults
Constructing Binaries and Bitstrings
Matching Binaries
Appending to a Binary
Programming Examples User's Guide
Version 6.1
June 23, 2014