Programming Examples
User's Guide
Version 12.0
User's Guide
PDF
Top
Expand All
Contract All
Chapters
Records
Top of chapter
Records and Tuples
Defining a Record
Creating a Record
Accessing a Record Field
Updating a Record
Type Testing
Pattern Matching
Nested Records
A Longer Example
Funs
Top of chapter
map
foreach
Syntax of Funs
Variable Bindings Within a Fun
Funs and Module Lists
Funs Returning 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
Lexical Note
Segments
Defaults
Constructing Binaries and Bitstrings
Matching Binaries
Appending to a Binary
Programming Examples User's Guide
Version 12.0
February 23, 2021