txt
stringlengths
93
37.3k
## dist_zef-p6steve-Dan.md # raku Dan Top level raku **D**ata **AN**alysis Module that provides **a base set of raku-style** datatype roles, accessors & methods, primarily: * DataSlices * Series * DataFrames A common basis for bindings such as ... [Dan::Pandas](https://github.com/p6steve/raku-Dan-Pandas) (via Inline...
## -.md .= Combined from primary sources listed below. # [In Operators](#___top "go to top of document")[§](#(Operators)_infix_.= "direct link") See primary documentation [in context](/language/operators#infix_.=) for **infix .=**. Calls the right-side method on the value in the left-side container, replacing the r...
## dist_zef-lizmat-shorten-sub-commands.md [![Actions Status](https://github.com/lizmat/shorten-sub-commands/actions/workflows/linux.yml/badge.svg)](https://github.com/lizmat/shorten-sub-commands/actions) [![Actions Status](https://github.com/lizmat/shorten-sub-commands/actions/workflows/macos.yml/badge.svg)](https://g...
## dist_zef-patrickb-Cro-HTTP-Middleware-GoatCounter.md ``` =begin pod =head1 NAME Cro::HTTP::Middleware::GoatCounter =head1 SYNOPSIS =begin code :lang use Cro::HTTP::Server; use Cro::HTTP::Middleware::GoatCounter; my $gc-api-url = "https://MYCODE.goatcounter.com/api/v0"; my $gc-token = "hienaitkyvzjvriheac240240...
## adhoc.md class X::AdHoc Error with a custom message ```raku class X::AdHoc is Exception { } ``` `X::AdHoc` is the type into which objects are wrapped if they are thrown as exceptions, but don't inherit from [`Exception`](/type/Exception). Its benefit over returning non-[`Exception`](/type/Exception) objects is ...
## dist_zef-lizmat-Updown.md [![Actions Status](https://github.com/lizmat/Updown/actions/workflows/linux.yml/badge.svg)](https://github.com/lizmat/Updown/actions) [![Actions Status](https://github.com/lizmat/Updown/actions/workflows/macos.yml/badge.svg)](https://github.com/lizmat/Updown/actions) # NAME Updown - provi...
## dist_github-IanTayler-MinG.md # MinG A small module for working with Stabler's Minimalist Grammars in Perl6. [![Build Status](https://travis-ci.org/IanTayler/MinG.svg?branch=master)](https://travis-ci.org/IanTayler/MinG) # STRUCTURE As of now there are five (sub)modules: MinG, MinG::S13, MinG::S13::Logic, MinG::...
## dist_zef-jonathanstowe-JSON-Marshal.md # JSON::Marshal Make JSON from an Object (the opposite of JSON::Unmarshal) ![Build Status](https://github.com/jonathanstowe/JSON-Marshal/workflows/CI/badge.svg) ## Synopsis ``` use JSON::Marshal; class SomeClass { has Str $.string; has Int $.int; ...
## dist_zef-bduggan-App-tmeta.md # tmeta A console for your console [![Build Status](https://travis-ci.org/bduggan/tmeta.svg?branch=master)](https://travis-ci.org/bduggan/tmeta) ![image](https://user-images.githubusercontent.com/58956/89128554-6e741000-d4c4-11ea-846a-32189f23900c.png) ## Description tmeta is a wra...
## multipletypeconstraints.md class X::Parameter::MultipleTypeConstraints Compilation error due to a parameter with multiple type constraints ```raku class X::Parameter::MultipleTypeConstraints does X::Comp { } ``` Compile time error thrown when a parameter has multiple type constraints. This is not allowed in Raku....
## regexes.md ## Chunk 1 of 5 Regexes Pattern matching against strings A *regular expression* is a sequence of characters that defines a certain text pattern, typically one that one wishes to find in some large body of text. In theoretical computer science and formal language theory, regular expressions are used to ...
## regexes.md ## Chunk 2 of 5 top of document")[§](#Quantifiers "direct link") A quantifier makes the preceding atom match a variable number of times. For example, `a+` matches one or more `a` characters. Quantifiers bind tighter than concatenation, so `ab+` matches one `a` followed by one or more `b`s. This is diff...
## regexes.md ## Chunk 3 of 5 say ~$0; # OUTPUT: «c␤» } ``` If you do not need the captures, using non-capturing `[ ... ]` groups provides the following benefits: * they more cleanly communicate the regex intent, * they make it easier to count the capturing groups that do match, and * they make matchi...
## regexes.md ## Chunk 4 of 5 view. In particular the `<?{}>` operator requires a `True` value in order to allow the regular expression to match, while its negated form `<!{}>` requires a `False` value. In order to demonstrate the above operator, please consider the following example that involves a simple IPv4 addr...
## regexes.md ## Chunk 5 of 5 /:ratchet [ab | abc]:! cd/; # OUTPUT: «「abcd」␤» ``` ### [Enable frugal backtracking: `:?`](#Regexes "go to top of document")[§](#Enable_frugal_backtracking:_:? "direct link") The `:?` metacharacter works exactly like `:!`, except that it enables frugal backtracking. It is thus closely...
## dist_zef-antononcube-Markup-Calendar.md # Markup::Calendar Raku package with Markup (HTML, Markdown) calendar functions for displaying monthly, yearly, and custom calendars. ### Motivation The package ["Text::Calendar"](https://raku.land/zef:antononcube/Text::Calendar), [AAp1], provides the core functions for mak...
## dist_zef-qorg11-Pleroma.md [![Actions Status](https://github.com/dimethyltriptamine/pleroma-raku/workflows/test/badge.svg)](https://github.com/dimethyltriptamine/pleroma-raku/actions)
## head.md head Combined from primary sources listed below. # [In List](#___top "go to top of document")[§](#(List)_method_head "direct link") See primary documentation [in context](/type/List#method_head) for **method head**. ```raku multi method head(Any:D:) is raw multi method head(Any:D: Callable:D $w) multi me...
## typeobject.md class X::Does::TypeObject Error due to mixing into a type object ```raku class X::Does::TypeObject is Exception {} ``` When you try to add one or more roles to a type object with `does` after it has been composed, an error of type `X::Does::TypeObject` is thrown: ```raku Mu does Numeric; # Canno...
## dist_zef-gugod-RSV.md ``` This is an implementation of RSV decoder + encodder. For the details of RSV, see:: https://github.com/Stenway/RSV-Specification ```
## numeric.md Numeric Combined from primary sources listed below. # [In List](#___top "go to top of document")[§](#(List)_method_Numeric "direct link") See primary documentation [in context](/type/List#method_Numeric) for **method Numeric**. ```raku method Numeric(List:D: --> Int:D) ``` Returns the number of eleme...
## dist_zef-frithnanth-Math-Libgsl-Interpolation.md [![Actions Status](https://github.com/frithnanth/raku-Math-Libgsl-Interpolation/workflows/test/badge.svg)](https://github.com/frithnanth/raku-Math-Libgsl-Interpolation/actions) ![2D spline interpolation](examples/04-raw.png) # NAME Math::Libgsl::Interpolation - An ...
## dist_cpan-MORITZ-JSON-Tiny.md # Example A simple Perl 6 module for serializing and deserializing JSON. ``` use JSON::Tiny; say from-json('{ "a": 42 }').perl; say to-json { a => [1, 2, 'b'] }; ``` # Supported Standards JSON::Tiny implements RFC7159, which is a superset of ECMA-404, in that it permits any value a...
## dist_zef-FCO-Functional-Stack.md [![Actions Status](https://github.com/FCO/Functional-Stack/actions/workflows/test.yml/badge.svg)](https://github.com/FCO/Functional-Stack/actions) # NAME Functional::Stack - Functional Stack # SYNOPSIS ``` use Functional::Stack; Functional::Stack.mutate: { for ^10 -> $value { ...
## dist_zef-jjmerelo-Dist-META.md # Dist::META [Test-install distro](https://github.com/JJ/raku-dist-meta/actions/workflows/test.yaml) The main intention of this module is to offer an uniform API for data that might be spread over different keys in the [`META6.json` file](https://docs.raku.org/language/modules#index-e...
## dist_zef-Altai-man-Config-Netrc.md # NAME Config::Netrc - module for parsing of Netrc configuration files. # SYNOPSIS ``` use Config::Netrc; say Config::Netrc::parse-file('my-example.netrc'); ``` # DESCRIPTION There are basically two main functions: parse and parse-file. First function takes a string of netrc-...
## dist_zef-thundergnat-App-pixelpick.md # NAME pixelpick Get the color of any screen pixel in an X11 environment. Simple command-line app to allow you to get the RGB color of ***any*** screen pixel in an X11 environment, even those controlled by another application. ### Install ``` zef install App::pixelpick ``` ...
## c3mro.md role Metamodel::C3MRO Metaobject that supports the C3 method resolution order ```raku role Metamodel::C3MRO { } ``` *Warning*: this role is part of the Rakudo implementation, and is not a part of the language specification. [Metamodel](/language/mop) role for the [*C3* method resolution order (MRO)](htt...
## sub.md sub Combined from primary sources listed below. # [In Functions](#___top "go to top of document")[§](#(Functions)_sub_sub "direct link") See primary documentation [in context](/language/functions#Subroutines) for **Subroutines**. The basic way to create a subroutine is to use the `sub` declarator followed...
## is-dynamic.md is dynamic Combined from primary sources listed below. # [In Variable](#___top "go to top of document")[§](#(Variable)_trait_is_dynamic "direct link") See primary documentation [in context](/type/Variable#trait_is_dynamic) for **trait is dynamic**. ```raku multi trait_mod:<is>(Variable:D, :$dynamic...
## dist_zef-lizmat-Needle-Compile.md [![Actions Status](https://github.com/lizmat/Needle-Compile/actions/workflows/linux.yml/badge.svg)](https://github.com/lizmat/Needle-Compile/actions) [![Actions Status](https://github.com/lizmat/Needle-Compile/actions/workflows/macos.yml/badge.svg)](https://github.com/lizmat/Needle-...
## causeonlyvalidonbroken.md class X::Promise::CauseOnlyValidOnBroken Error due to asking why an unbroken promise has been broken. ```raku class X::Promise::CauseOnlyValidOnBroken is Exception { } ``` This exception is thrown when code expects a Promise to be broken, and asks why it has been broken, but the Promise ...
## dist_github-ugexe-Distribution-Common-Remote.md ## Distribution::Common::Remote Create an installable Distribution from remote sources using the `Distribution::Common` interface See [Distribution::Common](https://github.com/ugexe/Raku-Distribution--Common) for more information. This is kept as a separate repo as i...
## dist_zef-lizmat-P5getprotobyname.md [![Actions Status](https://github.com/lizmat/P5getprotobyname/workflows/test/badge.svg)](https://github.com/lizmat/P5getprotobyname/actions) # NAME Raku port of Perl's getprotobyname() and associated built-ins # SYNOPSIS ``` use P5getprotobyname; # exports getprotobyname, getp...
## dist_cpan-ALOREN-Canoe.md An simple thread-safe plug-in framework for Perl 6 # Description Canoe is an simple plug-in framework for Perl 6. It is thread-safe and process-safe. The configuration file is base on the JSON format. # Reference ## Canoe * e(--> Bool) Return True if the configuration file is existe...
## dist_github-labster-File-Compare.md # perl6-File-Compare Compare files, byte-by-byte Determines if two files are alike or if they differ. Usage: ``` use File::Compare; say files_are_equal("file1.txt", "file2.txt"); files_are_different("foo", "bar") ?? say "diff" !! say "same"; say "we match" if files_are_equal...
## lock.md class Lock A low-level, re-entrant, mutual exclusion lock ```raku class Lock {} ``` A `Lock` is a low-level concurrency control construct. It provides mutual exclusion, meaning that only one thread may hold the lock at a time. Once the lock is unlocked, another thread may then lock it. A `Lock` is typica...
## dist_cpan-JNTHN-OpenAPI-Model.md # OpenAPI::Model [Build Status](https://travis-ci.org/croservices/openapi-model) OpenAPI::Model - work with OpenAPI documents in terms of a set of Perl 6 objects. # SYNOPSIS ``` # Just fully qualified names available (OpenAPI::Model::Operation) use OpenAPI::Model; # Or get short n...
## dist_zef-martimm-Gnome-GdkPixbuf.md ![](https://martimm.github.io/gnome-gtk3/content-docs/images/gtk-perl6.png) # Gnome GdkPixbuf ![Artistic License 2.0](https://martimm.github.io/label/License-label.svg) # Description ## Documentation * [🔗 Website, entry point for all documents and blogs](https://martimm.gith...
## dist_zef-lizmat-Random-Names.md [![Actions Status](https://github.com/lizmat/Random-Names/actions/workflows/linux.yml/badge.svg)](https://github.com/lizmat/Random-Names/actions) [![Actions Status](https://github.com/lizmat/Random-Names/actions/workflows/macos.yml/badge.svg)](https://github.com/lizmat/Random-Names/ac...
## dist_zef-dwarring-CSS-Grammar.md [[Raku CSS Project]](https://css-raku.github.io) / [[CSS-Grammar Module]](https://css-raku.github.io/CSS-Grammar-raku) # CSS-Grammar-raku CSS::Grammar is a set of Raku grammars for the W3C family of CSS standards. It aims to implement a reasonable portion of the base grammars with...
## dist_cpan-TIMOTIMO-JSON-Fast.md [![Build Status](https://travis-ci.org/timo/json_fast.svg?branch=master)](https://travis-ci.org/timo/json_fast) # JSON::Fast A naive imperative JSON parser in pure Raku (but with direct access to `nqp::` ops), to evaluate performance against `JSON::Tiny`. It is a drop-in replacement...
## bless.md bless Combined from primary sources listed below. # [In Mu](#___top "go to top of document")[§](#(Mu)_method_bless "direct link") See primary documentation [in context](/type/Mu#method_bless) for **method bless**. ```raku method bless(*%attrinit --> Mu:D) ``` Low-level object construction method, usual...
## dist_zef-thundergnat-Rat-Precise.md [![Actions Status](https://github.com/thundergnat/Rat-Precise/actions/workflows/test.yml/badge.svg)](https://github.com/thundergnat/Rat-Precise/actions) # NAME Rat::Precise # SYNOPSIS Stringify Rats to a configurable precision. Provides a Rational method .precise. Pass in a p...
## dist_cpan-GARLANDG-Universal-errno.md # NAME Universal::errno - Wrapper for errno modules for Unix and Windows # SYNOPSIS ``` use Universal::errno; set_errno(2); say errno; say "failed: {errno}"; say +errno; #2 ``` # DESCRIPTION Universal::errno is an extension of and wrapper around lizm...
## dist_zef-raku-community-modules-Git-Log.md [![Actions Status](https://github.com/raku-community-modules/Git-Log/actions/workflows/linux.yml/badge.svg)](https://github.com/raku-community-modules/Git-Log/actions) [![Actions Status](https://github.com/raku-community-modules/Git-Log/actions/workflows/macos.yml/badge.svg...
## elems.md elems Combined from primary sources listed below. # [In Uni](#___top "go to top of document")[§](#(Uni)_method_elems "direct link") See primary documentation [in context](/type/Uni#method_elems) for **method elems**. ```raku method elems(Uni:D: --> Int:D) ``` Returns the number of codepoints in the inv...
## dist_zef-lucs-File-TreeBuilder_1.md [![Actions Status](https://github.com/lucs/File-TreeBuilder/actions/workflows/test.yml/badge.svg)](https://github.com/lucs/File-TreeBuilder/actions) # NAME ``` File::TreeBuilder - Build text-scripted trees of files ``` ## SYNOPSIS ``` use File::TreeBuilder; #`{ ...
## dist_zef-antononcube-DSL-English-QuantileRegressionWorkflows.md # Quantile Regression Workflows ## In brief This Raku Perl 6 package has grammar classes and action classes. These are used for the parsing and interpretation of spoken commands that specify Quantile Regression (QR) workflows. It is envisioned that t...
## dist_github-supernovus-Hinges.md # Hinges ## Introduction Hinges is a Genshi-like template engine for Perl 6. It's a modular system based on XML SAX streams, it allows for combining (X)HTML and Perl 6 code in the same template. ## Authors [Carl Mäsak](https://github.com/masak/)
## dist_zef-jjatria-Game-Entities.md # NAME Game::Entities # SYNOPSIS ``` given Game::Entities.new { # Create an entity with a possibly empty set of components $guid = .create: Collidable.new, Drawable.new, Consumable.new; # CRUD operations on an entity's components .add: ...
## dist_zef-tbrowder-File-Copy.md [![Actions Status](https://github.com/tbrowder/File-Copy/actions/workflows/linux.yml/badge.svg)](https://github.com/tbrowder/File-Copy/actions) [![Actions Status](https://github.com/tbrowder/File-Copy/actions/workflows/macos.yml/badge.svg)](https://github.com/tbrowder/File-Copy/actions...
## cmp.md cmp Combined from primary sources listed below. # [In List](#___top "go to top of document")[§](#(List)_infix_cmp "direct link") See primary documentation [in context](/type/List#infix_cmp) for **infix cmp**. ```raku multi infix:<cmp>(List @a, List @b) ``` Evaluates `Lists` by comparing element `@a[$i]` ...
## iterating.md Iterating Functionalities available for visiting all items in a complex data structure # [The](#Iterating "go to top of document") [`Iterator`](/type/Iterator) and [`Iterable`](/type/Iterable) roles[§](#The_Iterator_and_Iterable_roles "direct link") Raku is a functional language, but functions need s...
## dist_cpan-AZAWAWI-SDL2.md # SDL2 [![Build Status](https://travis-ci.org/azawawi/perl6-sdl2.svg?branch=master)](https://travis-ci.org/azawawi/perl6-sdl2) [![Build status](https://ci.appveyor.com/api/projects/status/github/azawawi/perl6-sdl2?svg=true)](https://ci.appveyor.com/project/azawawi/perl6-sdl2/branch/master)...
## dist_zef-raku-community-modules-Pod-EOD.md [![Actions Status](https://github.com/raku-community-modules/Pod-EOD/actions/workflows/linux.yml/badge.svg)](https://github.com/raku-community-modules/Pod-EOD/actions) [![Actions Status](https://github.com/raku-community-modules/Pod-EOD/actions/workflows/macos.yml/badge.svg...
## stringy.md role Stringy String or object that can act as a string ```raku role Stringy { ... } ``` Common role for string types (such as Str). # [Typegraph](# "go to top of document")[§](#typegraphrelations "direct link") Type relations for `Stringy` raku-type-graph Stringy Stringy Positional Positional...
## dist_zef-jonathanstowe-Chronic.md # Chronic Scheduling thingy for Raku ![Build Status](https://github.com/jonathanstowe/Chronic/workflows/CI/badge.svg) ## Synopsis ``` # Static configuration; use Chronic; react { # Every minute whenever Chronic.every() -> $v { say "One: $v"; } # Every ...
## ro.md class X::Assignment::RO Exception thrown when trying to assign to something read-only ```raku class X::Assignment::RO is Exception {} ``` Code like ```raku sub f() { 42 }; f() = 'new value'; # throws an X::Assignment::RO CATCH { default { put .^name, ': ', .Str } }; # OUTPUT: «X::Assignment::RO: Cannot mo...
## dist_github-jaffa4-String-Stream.md # String::Stream Stream into a string or from a string. Use print, say to direct output into a string. ## Usage ``` my $t = String::Stream.new(); # for both input and output print $t: "something"; say $t: "something else"; $*IN = Stream.new("puccini"); my $out = say prompt...
## dist_cpan-AVUSEROW-Audio-TagLib.md [![Actions Status](https://github.com/avuserow/raku-audio-taglib/workflows/test/badge.svg)](https://github.com/avuserow/raku-audio-taglib/actions) # NAME Audio::TagLib - Read ID3 and other audio metadata with TagLib # SYNOPSIS ``` use Audio::TagLib; my $taglib = Audio::TagLib....
## frame.md class Backtrace::Frame Single frame of a Backtrace ```raku class Backtrace::Frame { } ``` A single backtrace frame. It identifies a location in the source code. # [Methods](#class_Backtrace::Frame "go to top of document")[§](#Methods "direct link") ## [method file](#class_Backtrace::Frame "go to top of...
## dist_zef-l10n-L10N-PT.md # NAME L10N::PT - Portuguese localization of Raku # SYNOPSIS ``` use L10N::PT; diga "Hello World"; ``` # DESCRIPTION L10N::PT contains the logic to provide a Portuguese localization of the Raku Programming Language. # AUTHORS Fernando Corrêa de Oliveira # COPYRIGHT AND LICENSE Copy...
## dist_zef-raku-community-modules-Games-BubbleBreaker.md ## Games::BubbleBreaker – a mouse based logic game ### Installation This game requires `libSDL`, `libSDL_image` and `libSDL_mixer`. On Debian-based systems you can install these with: ``` sudo apt install libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev ...
## dist_zef-librasteve-Net-Google-Sheets.md [![](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0) # Net::Google::Sheets Simple API access to Google Sheets, using [OAuth2::Client::Google](https://github.com/bduggan/p6-oauth2-client-google) ## Install ``` ...
## dist_zef-jjmerelo-Math-Constants.md # Math::Constants [.github/workflows/test.yaml](https://github.com/JJ/p6-math-constants/actions/workflows/test.yaml) Math::Constants - A few constants defined in Raku # SYNOPSIS ``` #!/usr/bin/env raku use Math::Constants; say "We have ", phi, " ", plancks-h, " ", plancks-re...
## iterationbuffer.md class IterationBuffer Low level storage of positional values ```raku my class IterationBuffer { } ``` An `IterationBuffer` is used when the implementation of an [`Iterator`](/type/Iterator) class needs a lightweight way to store/transmit values. It doesn't make [`Scalar`](/type/Scalar) contain...
## dist_cpan-BDUGGAN-Duckie.md [![Actions Status](https://github.com/bduggan/raku-duckie/actions/workflows/linux.yml/badge.svg)](https://github.com/bduggan/raku-duckie/actions/workflows/linux.yml) [![Actions Status](https://github.com/bduggan/raku-duckie/actions/workflows/macos.yml/badge.svg)](https://github.com/bdugga...
## dist_zef-lizmat-P5getnetbyname.md [![Actions Status](https://github.com/lizmat/P5getnetbyname/workflows/test/badge.svg)](https://github.com/lizmat/P5getnetbyname/actions) # NAME Raku port of Perl's getnetbyname() and associated built-ins # SYNOPSIS ``` use P5getnetbyname; # exports getnetbyname, getnetbyaddr, ge...
## dist_zef-jjmerelo-kazmath.md # kazmath This is an embryo of a NativeCall port of the [kazmath library](https://github.com/Kazade/kazmath), which is a low-level library for manipulation of graphics primitives. It's similar to others graphics libraries such as OpenGL, but it's simpler and, in some cases, faster. ## ...
## dist_zef-samy-App-Ebread.md # ebread **ebread** (**eb**ook **read**er) is a program that dumps the contents of an EPUB ebook to plain text. It accomplishes this via the HTML dump feature found in many text-mode web browsers, like `lynx`. The outputted text should be suitable for reading and piping into other progra...
## dist_zef-raku-community-modules-Math-Trig.md [![Actions Status](https://github.com/raku-community-modules/Math-Trig/workflows/test/badge.svg)](https://github.com/raku-community-modules/Math-Trig/actions) # NAME Math::Trig - Trigonometric routines not already built-in # SYNOPSIS ``` use Math::Trig; ``` # DESCRI...
## dist_zef-antononcube-Proc-ZMQed.md # Raku Proc::ZMQed This package, "Proc::ZMQed", provides external evaluators (Julia, Mathematica, Python, R, etc.) via [ZeroMQ (ZMQ)](https://zeromq.org). Functionality-wise, a closely related Raku package is ["Text::CodeProcessing"](https://raku.land/zef:antononcube/Text::CodePr...
## dist_zef-lizmat-P5shift.md [![Actions Status](https://github.com/lizmat/P5shift/workflows/test/badge.svg)](https://github.com/lizmat/P5shift/actions) # NAME Raku port of Perl's shift() / unshift() built-ins # SYNOPSIS ``` use P5shift; say shift; # shift from @*ARGS, if any sub a { dd @_; dd shift; dd @_ }; a ...
## nfkd.md class NFKD Codepoint string in Normal Form KD (compatibility decomposed) ```raku class NFKD is Uni {} ``` A Codepoint string in Unicode Normalization Form KD. It is created by Compatibility Decomposition. For more information on what this means, see [Unicode TR15](https://www.unicode.org/reports/tr15/). ...
## dist_zef-hythm-Retry.md # Name Retry - Retry action # Synopsis ``` use Retry; retry { action }, :4max, :2delay; retry { say 'trying!'; die }, :max(-1), :delay({ constant @fib = 0, 1, *+* ... *; @fib[$++] }); ``` # Description Retry is a module that exports `retry` sub which takes a `Block` to retry execute ...
## dist_zef-raku-community-modules-Config-INI.md [![Actions Status](https://github.com/raku-community-modules/Config-INI/actions/workflows/linux.yml/badge.svg)](https://github.com/raku-community-modules/Config-INI/actions) [![Actions Status](https://github.com/raku-community-modules/Config-INI/actions/workflows/macos.y...
## dist_zef-lizmat-JSON-Fast-Hyper.md [![Actions Status](https://github.com/lizmat/JSON-Fast-Hyper/actions/workflows/linux.yml/badge.svg)](https://github.com/lizmat/JSON-Fast-Hyper/actions) [![Actions Status](https://github.com/lizmat/JSON-Fast-Hyper/actions/workflows/macos.yml/badge.svg)](https://github.com/lizmat/JSO...
## open.md open Combined from primary sources listed below. # [In IO::Handle](#___top "go to top of document")[§](#(IO::Handle)_method_open "direct link") See primary documentation [in context](/type/IO/Handle#method_open) for **method open**. ```raku method open(IO::Handle:D: :$r, :$w, :$x, :$a, :$update, ...
## dist_cpan-MELEZHIK-Sparrowdo-Goss.md # SYNOPSIS Sparrowdo module to run goss scenarios. # Travis build status [![Build Status](https://travis-ci.org/melezhik/sparrowdo-goss.svg)](https://travis-ci.org/melezhik/sparrowdo-goss) # INSTALL ``` $ zef install Sparrowdo::Goss ``` # USAGE Here are few examples. ## ...
## nyi.md class X::NYI Error due to use of an unimplemented feature ```raku class X::NYI is Exception { } ``` Error class for unimplemented features. *NYI* stands for *Not Yet Implemented*. If a Raku compiler is not yet feature complete, it may throw an `X::NYI` exception when a program uses a feature that it can d...
## label.md class Label Tagged location in the source code ```raku class Label {} ``` Labels are used in Raku to tag loops so that you can specify the specific one you want to jump to with [statements such as `last`](/language/control#LABELs). You can use it to jump out of loops and get to outer ones, instead of jus...
## dist_zef-melezhik-SparrowCI-SandBox.md # sparrowci-sandbox The only purpose of this module is to demonstrate usage of SparrowCI pipeline in Raku module automation. # sparrow.yaml This pipeline runs `zef test` and then if a commit message contains `release!` string uploads a module via `fez upload`. Pipeline requ...
## dist_github-MattOates-Math-FourierTransform.md # Math--FourierTransform [Build Status](https://travis-ci.org/MattOates/Math--FourierTransform) Discrete Fourier Transform for Perl 6 ``` use Math::FourierTransform; @spectrum = discrete-fourier-transform(@data); ```
## dist_cpan-JMERELO-Syslog-Parse.md [![Build Status](https://travis-ci.com/JJ/raku-syslog-parse.svg?branch=master)](https://travis-ci.com/JJ/raku-syslog-parse) ![.github/workflows/test.yml](https://github.com/JJ/raku-syslog-parse/workflows/.github/workflows/test.yml/badge.svg) # NAME Syslog::Parse - Creates a supply...
## class.md class Combined from primary sources listed below. # [In Object orientation](#___top "go to top of document")[§](#(Object_orientation)_class_class "direct link") See primary documentation [in context](/language/objects#Classes) for **Classes**. Classes are declared using the `class` keyword, typically fo...
## dist_zef-colomon-ABC.md ``` This module is a set of tools for dealing with ABC music files in Raku (formerly known as Perl 6). There are several scripts in bin/ built on the library: * abc2ly: converts an ABC file to the Lilypond ly format, then invokes Lilypond on it to create high quality sheet music. If you in...
## dist_zef-raku-community-modules-Dice-Roller.md [![Actions Status](https://github.com/raku-community-modules/Dice-Roller/actions/workflows/linux.yml/badge.svg)](https://github.com/raku-community-modules/Dice-Roller/actions) [![Actions Status](https://github.com/raku-community-modules/Dice-Roller/actions/workflows/mac...
## dist_github-codesections-Pod-Literate.md [![Actions Status](https://github.com/codesections/pod-literate/workflows/test/badge.svg)](https://github.com/codesections/pod-literate/actions) # NAME Pod::Literate - A library for parsing Raku files into Pod and Code # SYNOPSIS ``` use Pod::Literate; Pod::Literate.parse...
## dist_cpan-FCO-JSON-Stream.md [![Build Status](https://travis-ci.org/FCO/JSON-Stream.svg?branch=master)](https://travis-ci.org/FCO/JSON-Stream) # JSON::Stream A JSON stream parser ``` use JSON::Stream; ``` ``` react whenever json-stream "a-big-json-file.json".IO.open.Supply, '$.employees.*' -> (:$key, :$value) {...
## dist_zef-rir-Touch.md NAME Touch -- set file modified and/or accessed time SYNOPSIS use Touch; touch( $filename ); # update both to now touch( $filename, $access, $modify ); # update both touch( $filename, :$access!, :$modify! ); # update both touch( $filename, :$access!, :only! ); # update access only touch( $f...
## dist_zef-FCO-ASTQuery.md [![Actions Status](https://github.com/FCO/ASTQuery/actions/workflows/test.yml/badge.svg)](https://github.com/FCO/ASTQuery/actions) # NAME ASTQuery - Query and manipulate Raku’s Abstract Syntax Trees (RakuAST) with an expressive syntax # SYNOPSIS ``` use ASTQuery; # Sample Raku code my $...
## dist_zef-tbrowder-Foo-Bar.md [![Actions Status](https://github.com/tbrowder/Foo-Bar/actions/workflows/linux.yml/badge.svg)](https://github.com/tbrowder/Foo-Bar/actions) [![Actions Status](https://github.com/tbrowder/Foo-Bar/actions/workflows/macos.yml/badge.svg)](https://github.com/tbrowder/Foo-Bar/actions) [![Actio...
## dist_zef-vrurg-Log-Dispatch.md # NAME `Log::Dispatch` - Dispatching multi-source, multi-destination logging # SYNOPSIS ``` use Log::Dispatch; use Log::Dispatch::Destination; use Log::Dispatch::Source; class DBDestination does Log::Ddispatch::Destination { method report(Log::Dispatch::Msg:D $message) { ...
## dist_zef-raku-community-modules-IO-MiddleMan.md [![Build Status](https://travis-ci.org/zoffixznet/perl6-IO-MiddleMan.svg)](https://travis-ci.org/zoffixznet/perl6-IO-MiddleMan) # NAME IO::MiddleMan - hijack, capture, or mute writes to an IO::Handle # TABLE OF CONTENTS * [NAME](#name) * [SYNOPSIS](#synopsis) * [DE...
## dist_cpan-CTILMES-LibUUID.md # LibUUID [![Build Status](https://travis-ci.org/CurtTilmes/perl6-libuuid.svg)](https://travis-ci.org/CurtTilmes/perl6-libuuid) Perl 6 bindings for [libuuid](https://libuuid.sourceforge.io/). This library creates Universally Unique IDentifiers (UUID). The uuid will be generated based...
## dist_cpan-HANENKAMP-HTTP-Supply.md # NAME HTTP::Supply - modern HTTP/1.x message parser # SYNOPSIS ``` use HTTP::Supply::Request; react { whenever IO::Socket::Async.listen('localhost', 8080) -> $conn { my $envs = HTTP::Supply::Request.parse-http($conn); whenever $envs -> %env { my...
## dist_zef-tony-o-Encoding-Huffman-PP6.md # Huffman Encoding in pure perl6 What a joy. ## Subs provided + signatures ### Encoding `sub huffman-encode(Str $string-to-encode, %table?)` #### `$string-to-encode` The string you wish to encode #### `%table?` The encoding table you'd like to use. Defaults to the HTTP...
## dist_github-moznion-IO-Blob.md [![Build Status](https://travis-ci.org/moznion/p6-IO-Blob.svg?branch=master)](https://travis-ci.org/moznion/p6-IO-Blob) # NAME IO::Blob - IO:: interface for reading/writing a Blob # SYNOPSIS ``` use v6; use IO::Blob; my $data = "foo\nbar\n"; my IO::Blob $io = IO::Blob.new($data.en...
## dist_cpan-RBT-File-Temp.md [![Build status](https://ci.appveyor.com/api/projects/status/github/perlpilot/p6-File-Temps?svg=true)](https://ci.appveyor.com/project/perlpilot/p6-File-Temps/branch/master) # NAME File::Temp # SYNOPSIS ``` # Generate a temp file in a temp dir my ($filename,$filehandle) = tempfile; # ...