Skip to content

Commit aefd3f4

Browse files
authored
Add short intro for code blocks (#659)
1 parent 6e775b8 commit aefd3f4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

concepts/routines-code-blocks-signatures/about.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Code blocks are used liberally in Raku.
2+
Fundamental for functions, but also in tools such as `grep` and `map`, as blocks of `if`, `for`, `while`, and `given` statements, and even array subscripts.
3+
14
## Routines
25

36
[`Subs`][type/Sub] and [`Methods`][type/Method] are types of [`Routines`][type/Routine] in Raku.

concepts/routines-code-blocks-signatures/introduction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Code blocks are used liberally in Raku.
2+
Fundamental for functions, but also in tools such as `grep` and `map`, as blocks of `if`, `for`, `while`, and `given` statements, and even array subscripts.
3+
14
## Routines
25

36
[`Subs`][type/Sub] and [`Methods`][type/Method] are types of [`Routines`][type/Routine] in Raku.

0 commit comments

Comments
 (0)