DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦db4af5524⟧ TextFile

    Length: 2413 (0x96d)
    Types: TextFile
    Names: »V«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Instance;
with Tuple_Collection;

with Ball, Box, Sticker;

with Balls_Boxes_Stickers_Tests;
use Balls_Boxes_Stickers_Tests;

package Balls_Boxes_Stickers_Conditions is

    function Pack_It_Restriction_1
                (The_Reference : Instance.Reference) return Boolean;
    function Pack_It_Restriction_2
                (The_Reference : Instance.Reference) return Boolean;
    function Pack_It_Restriction_3
                (The_Reference : Instance.Reference) return Boolean;
    function Sticker_Lack_Restriction_1
                (The_Reference : Instance.Reference) return Boolean;
    function Box_Lack_Restriction_1
                (The_Reference : Instance.Reference) return Boolean;
    function Too_Big_Restriction_1
                (The_Reference : Instance.Reference) return Boolean;

    -- function Pack_It_Condition      return Tuple_Collection.Object;
    -- function Sticker_Lack_Condition return Tuple_Collection.Object;
    -- function Box_Lack_Condition     return Tuple_Collection.Object;
    -- function Too_Big_Condition      return Tuple_Collection.Object;

    function Pack_It_Condition is
       new Tuple_Collection.Join_3 (Collection_1 => Ball.Instances,
                                    Restrict_1   => Pack_It_Restriction_1,
                                    Collection_2 => Box.Instances,
                                    Restrict_2   => Pack_It_Restriction_2,
                                    Collection_3 => Sticker.Instances,
                                    Restrict_3   => Pack_It_Restriction_3,
                                    Match        => Pack_It_Test);

    function Sticker_Lack_Condition is
       new Tuple_Collection.Join_1 (Collection_1 => Ball.Instances,
                                    Restrict_1   => Sticker_Lack_Restriction_1,
                                    Match        => Sticker_Lack_Test);

    function Box_Lack_Condition is
       new Tuple_Collection.Join_1 (Collection_1 => Ball.Instances,
                                    Restrict_1   => Box_Lack_Restriction_1,
                                    Match        => Box_Lack_Test);

    function Too_Big_Condition is
       new Tuple_Collection.Join_1 (Collection_1 => Ball.Instances,
                                    Restrict_1   => Too_Big_Restriction_1,
                                    Match        => Too_Big_Test);

end Balls_Boxes_Stickers_Conditions;