Table of Contents
1 Introduction
1.1 Command Line Interpreter
1.2 Hello World
1.3 Main Wafl Concepts
1.4 Introduction to the Types
2 Program Structure
2.1 Program Is an Expression
2.2 Comments
2.3 Tuples
2.4 Local Definitions
2.5 Function Definition
2.6 Named Expression Definition
2.7 No Variables
2.8 The Order of the Definitions
2.9 Conditional Expression if
if
2.10 Conditional Expression switch
switch
2.11 Recursion
2.12 Libraries
3 Programming With Functions
3.1 Strict Type Checking
3.2 Automatic Type Inference
3.3 Polymorphism
3.4 Higher Order Functions
3.5 Partial Application
3.6 Lambda Functions
3.7 Lambda Closures
3.8 Operators as Functions
3.9 Dot Operator
3.10 Explicit Computation State
3.11 Cached Functions
4 Primitive Types
4.1 Literals
4.2 Operators
4.3 Conversion Functions
4.4 Integer Functions
4.5 Float Functions
4.6 String Functions
5 List Type
5.1 List Literals
5.2 Basic List Functions
5.3 Basic List Processing
5.4 Advanced List Processing
5.5 More List Functions
5.6 Functions map and mapIdx
map
mapIdx
5.7 Functions zip and cross
zip
cross
5.8 Functions foldr, foldl and fold
foldr
foldl
fold
5.9 Selection Functions
5.10 Functions for Finding Elements
5.11 Functions forall and exists
forall
exists
5.12 Functions count and countRep
count
countRep
5.13 Functions sort and sortBy
sort
sortBy
5.14 Functions in and contains
in
contains
5.15 Lazy Lists
6 Structured Types
6.1 Array Type
6.2 Map Type
6.3 Tuple Type
6.4 Record Type
7 Databases
7.1 Database Connection
7.2 Queries
7.3 Transactions
8 Elements of Wafl Library
8.1 Program Control
8.2 File Reading
8.3 File Writing
8.4 File Operations
8.5 Directory Operations
8.6 Regex Functions
8.7 Command Line
8.8 Web and HTTP Functions
8.9 Wafl to JSON
8.10 Wafl Program Evaluation
9 Parallelization
9.1 Wafl and Parallelization
9.2 Parallel Functions
10 Wafl Library Reference
10.1 Core Library
10.2 Binary Libraries
10.3 Wafl Libraries
11 Command Line Reference
11.1 Command Line Options
11.2 Configuration Files
11.3 ANSI Control Codes
12 Advanced
12.1 JIT
12.2 Wafl Binary Libraries
13 More Content…
13.1 Soon…
Last update: 16.09.2025.
Wafl
Tutorial / 13 - More Content…
Open printable version
The tutorial is under construction.
Expect more content soon.
Search
Wafl Home Downloads Wafl Tutorial v.0.6.10 © 2021-2025 Saša Malkov Open printable version