Skip to content

Commit

Permalink
doc dynamic subset
Browse files Browse the repository at this point in the history
  • Loading branch information
gfldex committed Oct 27, 2016
1 parent 9727473 commit f59ad3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/Language/typesystem.pod6
Expand Up @@ -602,4 +602,11 @@ but a name is neither needed nor desirable.
g([A, C]);
# OUTPUT«[A C]␤»
Subsets can be used to check types dynamially, what can be useful in conjuction with L<require|/language/modules#require>.
X<|dynamic subset>
=for code :skip-test
require ::('YourModule');
subset C where $ = ::('YourModule::C');
=end pod

0 comments on commit f59ad3e

Please sign in to comment.