Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic types in message specification #133

Open
treiher opened this issue Feb 10, 2020 · 0 comments
Open

Generic types in message specification #133

treiher opened this issue Feb 10, 2020 · 0 comments
Labels
specification Related to specification package (e.g., specification parsing)

Comments

@treiher
Copy link
Collaborator

treiher commented Feb 10, 2020

   generic
      Length_Type : <>;
      Value_Type : <>;
   type Length_Value is
      message
         Length : Length_Type
            then Value
               with Length => Length;
         Value : Value_Type;
      end message;

Instantiation of generic type:

   type Supported_Groups is new Length_Value (Supported_Groups_Length_Type, Named_Groups);

   type Example is
      message
         Supported_Groups : Supported_Groups;
      end message;
@treiher treiher added this to To do in RecordFlux Future via automation Feb 10, 2020
@senier senier moved this from To do to Long-term in RecordFlux Future Aug 24, 2022
@senier senier moved this from Low to High in RecordFlux Future Nov 1, 2022
@senier senier removed this from High in RecordFlux Future Nov 1, 2022
@senier senier added this to To do in RecordFlux 0.8 via automation Nov 1, 2022
@senier senier added the specification Related to specification package (e.g., specification parsing) label Nov 1, 2022
@treiher treiher removed this from To do in RecordFlux 0.8 Nov 10, 2022
@treiher treiher added this to Medium in RecordFlux Future via automation Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
specification Related to specification package (e.g., specification parsing)
Projects
No open projects
Development

No branches or pull requests

2 participants