Introduction
1.
Modules
2.
Basic Types
2.1.
Literals
2.2.
Arrays
2.3.
List comprehension
2.4.
Tuple
3.
Control flow
3.1.
If
3.2.
While
3.3.
For
4.
Function
4.1.
Basic Function
4.2.
Lambda Function
5.
Custom types
6.
Choco
6.1.
Variables
6.2.
Constraints
6.3.
Solving
6.4.
Example
7.
Std
7.1.
algorithm
7.1.1.
Comparison
7.1.2.
Iteration
7.1.3.
Mutation
7.1.4.
Searching
7.1.5.
sorting
7.2.
choco
7.2.1.
Compute
7.2.2.
Globals
7.2.3.
Packing
7.3.
list
7.4.
set
7.5.
random
Published with GitBook
Introduction
Control flow
ChocLet proposes multiple ways to control the execution flow :
If / Else construct
While loop
For loop