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 zip
map
zip
5.7 Functions foldr, foldl and fold
foldr
foldl
fold
5.8 Functions filter, find and filterMap
filter
find
filterMap
5.9 Functions forall and exists
forall
exists
5.10 Functions count and countRep
count
countRep
5.11 Functions sort and sortBy
sort
sortBy
5.12 Functions in and contains
in
contains
5.13 Lazy Lists
6 Structured Types
6.1 Array Type
6.2 Map Type
6.3 Tuple Type
6.4 Record Type
7 Elements of Wafl Library
7.1 Program Control
7.2 File Reading
7.3 File Writing
7.4 File Operations
7.5 Directory Operations
7.6 Regex Functions
7.7 Command Line
7.8 Web and HTTP Functions
7.9 Wafl to JSON
7.10 Wafl Program Evaluation
8 Parallelization
8.1 Wafl and Parallelization
8.2 Parallel Functions
9 Core Library Reference
9.1 Main Library
9.2 Command Line Library
9.3 Web Library
9.4 XML Library
9.5 Drawing Library (SDL)
9.6 Timer Library
9.7 Edlib Library
10 Command Line Reference
10.1 Command Line Options
10.2 Configuration Files
10.3 ANSI Control Codes
11 Advanced
11.1 JIT
11.2 Wafl Binary Libraries
12 More Content…
12.1 Soon…
Last update: 29.01.2025.
Wafl
Tutorial / 12 - More Content…
Open printable version
The tutorial is under construction.
Expect more content soon.
Search
Wafl Home Downloads Wafl Tutorial v.0.6.8 © 2021-2025 Saša Malkov Open printable version