summaryrefslogtreecommitdiff
path: root/src/kompsos-prelude.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-11-12 20:34:24 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-11-12 20:34:24 +1300
commitc9e156fdc3449d1cbc9dac4176cc460f6462ef18 (patch)
treeeff51bebfc12e4417a6d70c49d696d703bd43745 /src/kompsos-prelude.ads
parent9ae0a7e7c5d7669a81fe9eba13ff9c6224635efe (diff)
Prelude now derives its own World so dot notation works for those subprograms
Diffstat (limited to 'src/kompsos-prelude.ads')
-rw-r--r--src/kompsos-prelude.ads15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/kompsos-prelude.ads b/src/kompsos-prelude.ads
index 237edbf..2ad2309 100644
--- a/src/kompsos-prelude.ads
+++ b/src/kompsos-prelude.ads
@@ -10,6 +10,13 @@ generic
package Kompsos.Prelude is
+ type World is new Mu_World with private;
+
+ Empty_World : constant World;
+
+
+
+
-- caro --
function Head
@@ -138,6 +145,14 @@ package Kompsos.Prelude is
-- Skipped due to Recurse doing the same thing
+private
+
+
+ type World is new Mu_World with null record;
+
+ Empty_World : constant World := (Empty_Mu_World with null record);
+
+
end Kompsos.Prelude;