Skip to content

Instantly share code, notes, and snippets.

@Kaiepi
Last active March 22, 2020 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kaiepi/f121eed99a37a3197e566d7d49b1d188 to your computer and use it in GitHub Desktop.
Save Kaiepi/f121eed99a37a3197e566d7d49b1d188 to your computer and use it in GitHub Desktop.
S metaop example
use v6.e.PREVIEW;
use MetamodelX::Data::Record;
use Kind;
unit role Data::Record::Instance[::RT, ::T];
my constant RecordHOW = Kind[MetamodelX::Data::Record];
my subset RecordType is export where $?ROLE S| RecordHOW;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment