Course of Raku / Functional, concurrent, reactive, and web programming

Functional programming

A functional style in Raku — recursion, higher-order functions, closures, reductions, feeds, iterators, and laziness.

  • Recursion — 3 exercises
    • A recursive subroutine — 1 quiz
    • The base case — 1 quiz
  • Higher-order functions — 3 exercises
    • Passing subroutines — 1 quiz
    • Returning subroutines — 1 quiz
  • Lambdas and closures — 3 exercises
    • Lambdas — 1 quiz
    • Closures — 1 quiz
  • Reduction — 3 exercises
    • The reduce metaoperator — 1 quiz
    • The reduce routine — 1 quiz
  • Data feeds — 3 exercises
    • The feed operator — 1 quiz
    • Chaining feeds — 1 quiz
  • Iterators — 3 exercises
    • gather and take — 1 quiz
    • Lazy gather
  • Lazy and infinite sequences — 3 exercises
    • The sequence operator — 1 quiz
    • Infinite sequences — 1 quiz

The Complete Course of the Raku Programming Language

About the course · GitHub

Free and open source · Written by Andrew Shitov · Supported by The Perl & Raku Foundation

© 2021–2026 by Andrew Shitov