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
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
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
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 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 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
In Independent routines§| docs.raku.org
The Q lang§| docs.raku.org
Int§| docs.raku.org
Abstract class§| docs.raku.org
Musical free association: “B after A” became “time to play B sides…“| Packy’s Place
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In Str§| docs.raku.org
Raku highlighting| docs.raku.org
In IO::Path§| docs.raku.org
Raku highlighting| docs.raku.org
Raku highlighting| docs.raku.org
In IO::CatHandle§| docs.raku.org
In Str§| docs.raku.org
In List§| docs.raku.org
In ObjAt§| docs.raku.org
Raku highlighting| docs.raku.org
In IO::Path§| docs.raku.org
Getting started§| docs.raku.org
In IO::Path§| docs.raku.org
In Cool§| docs.raku.org
Raku highlighting| docs.raku.org
Routines are one of the means Raku has to reuse code. They come in several forms, most notably Methods, which belong in classes and roles and are associated with an object; and functions (also called subroutines or Subs, for short), which can be called independently of objects.| docs.raku.org
Statements§| docs.raku.org
In Cool§| docs.raku.org
In RakuAST::Doc::Block§| docs.raku.org
Raku provides a rich built-in syntax for defining and using classes. It makes writing classes expressive and short for most cases, but also provides mechanisms to cover the rare corner cases.| docs.raku.org
Variables are symbolic names for values or containers. Variable declarations or assignment of values may create a container on the fly. Variable names can start with or without a special character called a sigil, followed optionally by a second special character named twigil and then an identifier.| docs.raku.org
One often needs to refer to a specific element (or slice of elements) from a collection or data structure. Borrowing from mathematical notation where the components of a vector v would be referred to as v₁, v₂, v₃, this concept is called "subscripting" (or "indexing") in Raku.| docs.raku.org
Definition of a Raku type§| docs.raku.org
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.| docs.raku.org
See creating operators on how to define new operators.| docs.raku.org