./devel/p5-Function-Parameters, Perl5 subroutine definitions with parameter lists

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.001001, Package name: p5-Function-Parameters-2.001001, Maintainer: pkgsrc-users

This module extends Perl with keywords that let you define functions with
parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works
reliably and doesn't require a source filter.


Required to run:
[lang/perl5] [devel/p5-Moose] [devel/p5-Package-DeprecationManager]

Required to build:
[devel/p5-Dir-Self] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 6bc23af44697bf5da3c80e88a876909a175c8ee6
RMD160: c5b9f010f5b7f95eddda002b86dee5b86e51b385
Filesize: 87.656 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-17 12:35:16 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Function-Parameters: update to 2.001001.

2.001001  2017-07-12
          - fix duplicate type check on invocant:
                method foo(T $self: $x) { ... }
                # every call to foo() performs T->check($self) twice
          - clean up how type errors refer to parameters (now it's
            "parameter $N" for non-invocant parameters and \ 
"invocant $N" for
            invocants (or just "invocant" if there is exactly one))
          - rewrite pragma implementation and the way %^H is used
          - remove several internal package variables

2.000007  2017-05-15
          - no real code changes
          - extend bug #129090 workaround to perl 5.25.5
          - try to detect broken Moose installs earlier
          - fix declaration of developer dependencies
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-04-19 14:01:43 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/p5-Function-Parameters to 2.000006
------------------------------------------------
2.000006  2017-04-16
          - work around core bug #129090 / #131146 in perl 5.22 and 5.24:
            perl -e 'use Function::Parameters; \&f; fun f() { eval \ 
"" }' hangs
            in the compiler (also happens with perl -d or Devel::Cover instead
            of eval) (gh #29)

2.000003  2017-03-31
          - fix a bug where method modifiers would inadvertently declare subs
            (e.g. 'before foo() {}' acting like 'sub foo;
            BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and
            thus Class::Method::Modifiers (RT #120804)
          - make method modifiers take effect at runtime because otherwise
            you'd have to wrap every with()/extends() in a BEGIN block to make
            consumed/inherited methods visible to modifiers (RT #120804)
          - make method modifiers require a name (what would an anonymous
            modifier modify?)
          - (hopefully) improve the error message you get for trying to add any
            parameters after a slurpy

2.000002  2017-03-27
          - default to strict mode
          - allow types with multiple arguments (e.g. 'Tuple[Int, String]')
          - implement new 'auto' type reifier and use it by default
          - allow multiple invocants
          - support custom installers
          - implement Moo/Moose-style method modifiers
          - rework and extend import syntax
          - make implicit $self available in default arguments
          - call type reifiers from correct package and remove 2nd arg
            workaround
          - remove :(...) prototype syntax
          - remove undocumented 'attrs' option
          - drop internal Moo dependency
   2017-03-20 10:12:26 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update devel/p5-Function-Parameters to 1.0706
---------------------------------------------
1.0706  2017-03-17
        - don't require . in @INC during install
        - improve internal code generation functions used on perls before 5.22
(pkgsrc note)
make test fails at t/foreign/Fun/name.t, but the previous version also fails
at the same point, thus update, thank you.
   2016-06-11 14:44:27 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
Import p5-Function-Parameters-1.0705 as devel/p5-Function-Parameters

This module extends Perl with keywords that let you define functions with
parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works
reliably and doesn't require a source filter.

Originally packaged in pkgsrc-wip by myself.

Reviewed by <leot>.