🦀 Functional Rust
🟢

First Steps

New to Rust? Start here.

A gentle 20-example tour covering ownership, basic types, pattern matching, and error handling. No prior Rust required.

👤 Beginners with any FP background 📚 20 examples
Start Path →
1 #001 001 — Last Element of a List Foundations 2 #002 Last Two Elements Foundations 3 #003 K-th Element Foundations 4 #004 List Length Foundations 5 #928 005: Reverse a List Foundations 6 #929 006: Palindrome Check Foundations 7 #008 008: Eliminate Consecutive Duplicates Foundations 8 #094 094: Run-Length Encoding Foundations 9 #927 004: Option and Result Intermediate 10 #926 003: Pattern Matching Intermediate 11 #052 052: Function Composition Foundations 12 #005 Currying and Partial Application Intermediate 13 #849 001: Higher-Order Functions Foundations 14 #1007 1007: Result Combinators Intermediate 15 #292 292: Option Combinators Foundations 16 #293 293: The ? Operator Intermediate 17 #294 294: Custom Error Types Intermediate 18 #471 471: String vs &str Foundations 19 #900 256: Chaining Iterators with chain() Foundations 20 #880 086: Custom Iterators Intermediate