diff options
| author | Jedidiah Barber <contact@jedbarber.id.au> | 2026-01-21 15:31:35 +1300 |
|---|---|---|
| committer | Jedidiah Barber <contact@jedbarber.id.au> | 2026-01-21 15:31:35 +1300 |
| commit | 2f622510f4feecee552c43a31bd592d1c7f6617f (patch) | |
| tree | 024ae7135f07ed25d9e1f5165b7ef582bf3c4a36 /src/kompsos.ads | |
| parent | 09f522deb502e3675a4f5daa26c6c8fafb91144e (diff) | |
Refactor of evaluation using custom bookkeeping datatype instead of Maps
Diffstat (limited to 'src/kompsos.ads')
| -rw-r--r-- | src/kompsos.ads | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/kompsos.ads b/src/kompsos.ads index 9a00251..84b3ce2 100644 --- a/src/kompsos.ads +++ b/src/kompsos.ads @@ -9,7 +9,6 @@ private with Ada.Containers.Indefinite_Holders, - Ada.Containers.Ordered_Maps, Ada.Containers.Vectors, Ada.Finalization; @@ -415,10 +414,6 @@ private - type Term_Component; - - type Term_Component_Access is access Term_Component; - subtype Not_Null_Term_Kind is Term_Kind range Atom_Term .. Pair_Term; type Term_Component (Kind : Not_Null_Term_Kind) is limited record @@ -434,6 +429,8 @@ private end case; end record; + type Term_Component_Access is access Term_Component; + type Term is new Ada.Finalization.Controlled with record Actual : Term_Component_Access := null; end record; |
