In Operators§| docs.raku.org
This is an automatically generated page and cannot be edited directly. Text in Composite| docs.raku.org
In Control flow§| docs.raku.org
In Operators§| docs.raku.org
In Operators§| docs.raku.org
Raku highlighting| docs.raku.org
In common with most modern programming languages, Raku is designed to support parallelism, asynchronicity and concurrency. Parallelism is about doing multiple things at once. Asynchronous programming, which is sometimes called event driven or reactive programming, is about supporting changes in the program flow caused by events triggered elsewhere in the program. Finally, concurrency is about the coordination of access and modification of some shared resources.| docs.raku.org
In List§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Quoting constructs§| docs.raku.org
Raku highlighting| docs.raku.org
In Grammar§| docs.raku.org
Raku highlighting| docs.raku.org
Statement prefixes are written in front of a statement, and change their meaning, their output, or the moment they are going to be run. Since they have a specific behavior, they are also sometimes specific to some statement or group of statements.| docs.raku.org
In Grammar§| docs.raku.org
In role Rational§| docs.raku.org
In role Iterator§| docs.raku.org
say UInt ~~ Int; # OUTPUT: «True»| docs.raku.org
Raku highlighting| docs.raku.org
In Raku, pragmas are directive used to either identify a specific version of Raku to be used or to modify the compiler's normal behavior in some way. The use keyword enables a pragma (similar to how you can use a module). To disable a pragma, use the no keyword:| docs.raku.org
In Failure§| docs.raku.org
Raku highlighting| docs.raku.org
Exceptions in Raku are objects that hold information about errors. An error can be, for example, the unexpected receiving of data or a network connection no longer available, or a missing file. The information that an exception object stores is, for instance, a human-readable message about the error condition, the backtrace of the raising of the error, and so on.| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In List§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Backtrace§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In RatStr§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Durations can be subtracted from or added to Instants to yield another, new Instant. Subtracting one Instant from another yields a Duration. A Duration can also result from mathematical operations between two Durations when it makes sense (namely, the addition, subtraction, or modulus of two Durations). It can also be added, subtracted or divided modulo Real numbers.| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku is built on a metaobject layer. That means that there are objects (the metaobjects) that control how various object-oriented constructs (such as classes, roles, methods, attributes or enums) behave.| docs.raku.org
Raku highlighting| docs.raku.org
In RaceSeq§| docs.raku.org
In RaceSeq§| docs.raku.org
In Array§| docs.raku.org
Signatures appear inside parentheses after subroutine and method names, on blocks after a -> or <-> arrow, as the input to variable declarators like my, or as a separate term starting with a colon.| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku provides strong support for Object Oriented Programming (OOP). Although Raku allows programmers to program in multiple paradigms, Object Oriented Programming is at the heart of the language.| docs.raku.org
Raku highlighting| docs.raku.org
These routines are defined in different files along with one or several other classes, but are not actually attached to any particular class or role.| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Independent routines§| docs.raku.org
Raku has a high level of support of Unicode, with the latest version supporting Unicode 15.0. This document aims to be both an overview as well as description of Unicode features which don't belong in the documentation for routines and methods.| docs.raku.org
The lifetime (execution timeline) of a program is broken up into phases. A phaser is a block of code called during a specific execution phase.| docs.raku.org
In Cool§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Cool§| docs.raku.org
Raku borrows many concepts from human language. Which is not surprising, considering it was designed by a linguist.| docs.raku.org
This section explains how raw data, variables and containers relate to each other in Raku. The different types of containers used in Raku are explained and the actions applicable to them like assigning, binding and flattening. More advanced topics like self-referential data, type constraints and custom containers are discussed at the end.| docs.raku.org
Raku highlighting| docs.raku.org
In Independent routines§| docs.raku.org
The Q lang§| docs.raku.org
Int§| docs.raku.org
Abstract class§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Map§| docs.raku.org
Grammar is a powerful tool used to destructure text and often to return data structures that have been created by interpreting that text.| docs.raku.org
In Map§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In IO::Spec::Unix§| docs.raku.org
In role Enumeration§| docs.raku.org