Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove TODO

instead add a script which shows missing types, using type-graph.txt as reference
  • Loading branch information...
commit 7ef8834e1b1ddc943e50e28de35fd18ae677f9a3 1 parent dbc6f4e
@moritz moritz authored
Showing with 14 additions and 16 deletions.
  1. +0 −16 TODO
  2. +14 −0 util/missing-types.pl6
View
16 TODO
@@ -1,16 +0,0 @@
-Known missing stuff
-
-Types:
- DateTime # probably possible to steal much from S32::Temporal
-
- Bag
- Set
- KeyBag
- KeySet
-
- Order (enum)
-
- ObjAt
-
- Regex
- Routine
View
14 util/missing-types.pl6
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl6
+use v6;
+use lib 'lib';
+use Perl6::TypeGraph;
+
+my $t = Perl6::TypeGraph.new-from-file('type-graph.txt');
+
+for $t.sorted -> $type {
+ next if $type.name.index('Metamodel').defined || $type.name eq 'PROCESS';
+ next unless ::($type).^name eq $type.name;
+ my $filename = 'lib/' ~ $type.name.subst(:g, '::', '/') ~ '.pod';
+ say $type.name unless $filename.IO.e;
+ CATCH { default { } }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.