# 0.6 Editions

> An edition is a closed version of the language; this specification describes the 2027 edition.

Web page: https://pseudolearn.app/en/spec/lectura/ediciones

> **In one sentence**
>
> An edition is a closed version of the language; this specification describes the 2027 edition.

## 0.6.1 How it works

The language changes over time, but each **edition** fixes a set of rules that does not move. The current edition is called **2027**. A program written for 2027 is always analysed and run the same way.

The edition is not written inside the program and does not depend on the profile. Switching from Spanish to English does not enable constructs from other editions.

**Figure 0.6-1: Contents of the 2026 edition**

A frame titled 2026 edition with three boxes: a single grammar, a single type policy and a fixed prelude with examples of built-in functions.

The 2027 edition brings together a single grammar, a single type policy and a fixed prelude of built-in symbols.

## 0.6.2 The prelude

Every program of the 2027 edition sees a **prelude** from the start: a fixed set of built-in functions and types, such as `length` or `Optional`. It does not need importing and is not read from any file on the computer. If you declare a subroutine with the same name as a built-in function, yours hides it.

### Program: Using the prelude without importing anything

```pseudolearn
Algorithm Preludio
  Write length("PseudoLearn");
  Write sqrt(81);
EndAlgorithm
```

**Output**

```text
11
9.0
```

*The program finishes normally.*

The prelude declares names, never permissions. Reading a file or using the network requires asking the environment for a capability, as explained in Part XII.

## 0.6.3 Common rules of the edition

The 2027 edition applies a single grammar: every simple statement ends with a semicolon, every parameter declares its type and indices start at zero. There is no "flexible mode" and no option that changes the meaning of a program.

**In short**
- The current edition is 2027.
- An edition is not written in the program and does not depend on the profile.
- The prelude gives functions and types without importing anything, but not permissions.
- A single grammar and a single type policy for everyone.

**See also**
- [3.15 Checking levels](https://pseudolearn.app/en/spec/tipos/niveles.md)
- [11.4 Effects and capabilities](https://pseudolearn.app/en/spec/tareas/efectos.md)
- [D.1 Built-in functions](https://pseudolearn.app/en/spec/apendice/funciones.md)
