Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> perl >> libmoox-typetiny-perl
aramo  ]
[ Paquet source : libmoox-typetiny-perl  ]

Paquet : libmoox-typetiny-perl (0.002003-3)

Optimized type checks for Moo + Type::Tiny

MooX::TypeTiny optimizes Moo type checks when used with Type::Tiny to perform better. It will automatically apply to isa checks and coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as normal.

This is done by inlining the type check in a more optimal manner that is specific to Type::Tiny rather than the general mechanism Moo usually uses.

With this module, setters with type checks should be as fast as an equivalent check in Moose.

It is hoped that eventually this type inlining will be done automatically, making this module unnecessary.

Autres paquets associés à libmoox-typetiny-perl

  • dépendances
  • recommandations
  • suggestions
  • dep: libmoo-perl (>= 2.004)
    Minimalist Object Orientation library (with Moose compatibility)
  • dep: libtype-tiny-perl (>= 1.008)
    tiny, yet Moo(se)-compatible type constraint
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Télécharger libmoox-typetiny-perl

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 5,7 ko21 ko [liste des fichiers]