Blog

Find the newest information about Phel in our Blog.

Pattern Matching: Writing Cleaner Code with Less Conditional Logic

Trade if/elseif chains for case and cond, with PHP-friendly examples that show when each match shines.

Read post →

Immutability in Phel: Why Your Data Should Never Change

See how persistent data structures make day-to-day Phel code predictable, testable, and side-effect free.

Read post →

Threading Macros in Phel: Thread-First vs. Thread-Last

Compare the thread-first and thread-last macros and learn which one keeps each pipeline readable.

Read post →

Loop and Recur: Tail-Recursive Iteration Made Easy

Learn how Phel's loop and recur forms give you tail-recursive iteration without losing readability.

Read post →

Map, Filter, Reduce: Your First Functional Toolkit in Phel

A quick tour of map, filter, and reduce in Phel with easy examples you can paste into the REPL.

Read post →

Functional Programming in PHP: Lessons from My First Experiments

A PHP developer shares early experiments with functional ideas and what they sparked for Phel.

Read post →