Wafl Home

Record Tutorial

Record Selectors

Record elements are accessed by record selectors. Record selector uses dot-syntax, referencing element by its name:

<record>.<element-name>

A selector .name is applicable to any record having an element with a specified name. Its type is (Record[name:'1] -> '1).

 

Table of Contents

Let's Start

Program Structure

Primitive Data Types

List

Tuple

Record

HTML

Command Line Interpreter

Using Web Servers

Syntax

Examples

Tips

The most of examples evaluates with both command line and Web server Wafl interpreters. If any example is based on specific features of an interpreter, it is explicitly annotated.