Notes on Haskell Programming (Part 161): From token streams to structured AST document

Generated by NotebookLM based on this blog post: https://www.kianmeng.org/2026/06/note... This technical guide documents a transition in Haskell development from a disordered token stream to a structured Abstract Syntax Tree (AST) for document parsing. By moving away from flat lists of tokens, the author introduces a hierarchical model that explicitly separates metadata from content blocks, thereby eliminating the need for inefficient list manipulation during conversion. This architectural shift ensures that information like titles or headers is immediately accessible, resulting in a cleaner separation of concerns between data extraction and final transformation. Ultimately, this refactoring enhances computational performance and prepares the codebase for future integration with the Pandoc engine.

Notes on Haskell Programming (Part 162): The GHC compiler artefacts
▶︎

Notes on Haskell Programming (Part 162): The GHC compiler artefacts

Notes on Haskell Programming (Part 160): When AI code suggestions smell
▶︎

Notes on Haskell Programming (Part 160): When AI code suggestions smell

How to Build a Basic Graph RAG Using Neo4j and Free Ollama Models | Graph RAG Tutorial
▶︎

How to Build a Basic Graph RAG Using Neo4j and Free Ollama Models | Graph RAG Tutorial

TV ART SLIDESHOW 24/7 | Vintage Floral Gallery 🌼4K Framed Art Screensaver for Living Room
▶︎

TV ART SLIDESHOW 24/7 | Vintage Floral Gallery 🌼4K Framed Art Screensaver for Living Room

Birds Singing in a Tranquil Forest 🌳  Nature Sounds for Deep Sleep and Calm Mind
▶︎

Birds Singing in a Tranquil Forest 🌳 Nature Sounds for Deep Sleep and Calm Mind

The FULL VIDEO of Trump they didn’t want released
▶︎

The FULL VIDEO of Trump they didn’t want released

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه
▶︎

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه

Notes on Haskell Programming (Part 158): Moving away from String manipulation
▶︎

Notes on Haskell Programming (Part 158): Moving away from String manipulation

God Says:"I WANT YOU TO KNOW THIS — OPEN IT TONIGHT"/God Message Now/God Message
▶︎

God Says:"I WANT YOU TO KNOW THIS — OPEN IT TONIGHT"/God Message Now/God Message

After My Wife Passed Away, My Daughter-in-Law Smiled At The Inheritance Meeting!! | Calm Dad Stories
▶︎

After My Wife Passed Away, My Daughter-in-Law Smiled At The Inheritance Meeting!! | Calm Dad Stories

Harvesting 500+ Chickens from Farm by Horse Carriage to Sell at Village Market
▶︎

Harvesting 500+ Chickens from Farm by Horse Carriage to Sell at Village Market

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours
▶︎

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours

China Just Built What TSMC Said Was Impossible
▶︎

China Just Built What TSMC Said Was Impossible

Fall asleep while I build a zoo (Part 2)
▶︎

Fall asleep while I build a zoo (Part 2)

He Was In The Hospital when We Showed Up And Surprised Him With Over $100,000!! Hand Delivered!
▶︎

He Was In The Hospital when We Showed Up And Surprised Him With Over $100,000!! Hand Delivered!

How To Think SO CLEARLY People Assume You're A Genius
▶︎

How To Think SO CLEARLY People Assume You're A Genius

Stop Prompting Claude. Use Karpathy's Method Instead.
▶︎

Stop Prompting Claude. Use Karpathy's Method Instead.

Most Vibrant Coral Reefs Ever Captured in 8K Dolby Vision™
▶︎

Most Vibrant Coral Reefs Ever Captured in 8K Dolby Vision™

Karpathy's LLM Wiki - Full Beginner Setup Guide
▶︎

Karpathy's LLM Wiki - Full Beginner Setup Guide

God Says:"I JUST CONFIRMED — ONLY YOU CAN SEE THIS LETTER"/God Message Now/God Message
▶︎

God Says:"I JUST CONFIRMED — ONLY YOU CAN SEE THIS LETTER"/God Message Now/God Message