params_validationcompiler

Build an optimized subroutine parameter validator once, use it forever

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. params_validationcompiler

Description

This module creates a customized, highly efficient parameter checking subroutine. It can handle named or positional parameters, and can return the parameters as key/value pairs or a list of values. In addition to type checks, it also supports parameter defaults, optional parameters, and extra "slurpy" parameters.

Install

Channel stable v0.31-2

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install params_validationcompiler

Download version 0.31-2 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews