From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8e0e21432ac3eca6 X-Google-Attributes: gid103376,public From: G Subject: oops - same with neater formatting Date: 1999/11/09 Message-ID: <3826E0A0.8C37DCA8@interact.net.au>#1/1 X-Deja-AN: 545914735 Content-Transfer-Encoding: 7bit References: <3826DFBF.52AC2680@interact.net.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Humanity Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-11-09T00:00:00+00:00 List-Id: > --------------------------- > > package Problem is > > > type Component is (Single, Dependent, Group); > type Component_List is array (Component'First..Component'Last) of > Component; > > > > type Simple_Problem is tagged > record > Unit : Component; > end record; > > type Complex_Problem is new Simple_Problem with > record > Simple_Structure : Component_List; > Simple_Recursive_Reference : Simple_Problem; > end record; > > type Compound_Problem is new Complex_Problem with > record > Complex_Structure : Component_List; > > Complex_Recursive_Reference : Complex_Problem; > end record; > > end Problem; > ------------------------------------------------------------------------------