DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 1559 (0x617) Types: TextFile Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13 └─ ⟦124ff5788⟧ »DATA« └─⟦this⟧ └─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧ └─⟦afbc8121e⟧ Bits:30000532 8mm tape, Rational 1000, MC68020_OS2000 7_2_2 └─ ⟦77aa8350c⟧ »DATA« └─⟦f794ecd1d⟧ └─⟦4c85d69e2⟧ └─⟦this⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦this⟧ └─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦9b477e385⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦9b477e385⟧ └─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦9b477e385⟧ └─⟦this⟧
package body List_Generic is function Nil return List is begin return null; end Nil; function Is_Empty (L : List) return Boolean is begin return L = Nil; end Is_Empty; function First (L : List) return Element is begin return L.First; end First; function Rest (L : List) return List is begin return L.Rest; end Rest; function Make (X : Element; L : List) return List is begin return new Listdata'(X, L); end Make; procedure Set_Rest (L : List; To_Be : List) is begin L.Rest := To_Be; end Set_Rest; procedure Set_First (L : List; To_Be : Element) is begin L.First := To_Be; end Set_First; procedure Free (L : in out List) is begin L := null; end Free; function Length (L : List) return Natural is Count : Natural := 0; Iter : Iterator; begin Init (Iter, L); while not Done (Iter) loop Count := Count + 1; Next (Iter); end loop; return Count; end Length; procedure Init (Iter : out Iterator; L : List) is begin Iter := Iterator (L); end Init; procedure Next (Iter : in out Iterator) is begin Iter := Iterator (Iter.Rest); end Next; function Value (Iter : Iterator) return Element is begin return Iter.First; end Value; function Done (Iter : Iterator) return Boolean is begin return Iter = null; end Done; end List_Generic;