Raku Books / Using Raku

Aggregate Data Types

  • Manipulating lists and arrays
    • 48. Swap two values
    • 49. Reverse a list
    • 50. Rotate a list
    • 51. Randomise an array
    • 52. Incrementing array elements
    • 53. Adding up two arrays
    • 54. Exclusion of two arrays
  • Information retrieval
    • 55. Sum of the elements of an array
    • 56. Average of an array
    • 57. Moving average
    • 58. Is an element in a list?
    • 59. First odd number
    • 60. Take every second element
    • 61. Number of occurrences in array
    • 62. Finding unique elements
    • 63. Minimum and maximum
    • 64. Increasing sequences
  • Working with subroutines
    • 65. Passing arrays to subroutines
    • 66. Variadic parameters in a sub
  • Multi-dimensional data
    • 67. Transpose a matrix
    • 68. Sort hashes by parameter
    • 69. Count hash values
    • 70. Product table
    • 71. Pascal triangle

Andrew Shitov’s Raku Books

Tested programs · Raku Course · Raku.org · Raku Playground · GitHub

Books written by Andrew Shitov · Interactive edition © 2017–2026