Hi All,

What exactly is going on with .new?

  https://docs.perl6.org/routine/new
  method new(Telemetry::Sampler: @instruments --> Telemetry::Sampler:D)

The whole thing went over my head.  It looks like
specifications for the developers, but I really can't
tell.  And it looks like it might be really handy.

What can I use it for?


Also, does "Telemetry::Sampler" mean what it does in Perl 5,
which is a routine called "Sampler" found in the module
called "Telemetry"?

Many thanks,
-T

Reply via email to