Skip to content

Commit c208c3f

Browse files
authored
Merge pull request #1195 from gusthoff/content/advanced_ada/new_content/types/objects/20250304
Adding section on objects
2 parents e5b5004 + c79a3fc commit c208c3f

File tree

4 files changed

+369
-7
lines changed

4 files changed

+369
-7
lines changed

content/courses/advanced-ada/parts/data_types/arrays.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,3 +766,17 @@ that the length be 20 at most, and it's 40 in this case. Also, the
766766
assignment to :ada:`M_F2` fails because the predicate requires that the first
767767
element must be set to :ada:`2.0`, and :ada:`MD10 (1)` has the value 4.0.
768768

769+
770+
..
771+
TO BE DONE:
772+
773+
Slices
774+
-----
775+
776+
.. todo::
777+
778+
- Simple definition of array slices in Ada
779+
780+
.. admonition:: In the Ada Reference Manual
781+
782+
- :arm22:`4.1.2 Slices <4-1-2>`

content/courses/advanced-ada/parts/data_types/numerics.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ Numerics
33

44
.. include:: ../../../global.txt
55

6+
.. ::
7+
8+
.. _Adv_Ada_Universal_Real_Integer:
9+
10+
Universal Real and Integer
11+
--------------------------
12+
13+
.. todo::
14+
15+
Complete section!
16+
17+
- Universal real vs. integer
18+
- Accuracy
19+
- Compile time vs. runtime evaluation
20+
- Named Numbers
21+
- Operations in named numbers expressions
22+
23+
624
Modular Types
725
-------------
826

0 commit comments

Comments
 (0)