Applicative-Controlled Monads: Change the Way Your Monads Work.
Combine the static nature of Applicatives with the sequential power of Monads. Learn to build inspectable workflows in Haskell for dependency extraction, DAG visualization, and automatic concurrency.
5330 words
|
27 minutes
High-Performance Haskell: SlotMap Implementation
Exploring high-performance Haskell by implementing a mutable SlotMap for an order matching engine. Attempting to mimic Rust's memory efficiency backfired with a 20x performance drop due to SoA/AoS mismatches and GC overhead. A valuble lesson on why mixing low-level mutability with high-level immutable abstractions is a bad idea.
8282 words
|
41 minutes
Déjà Vu
有一粒螞蟻,在一小块空地上,繞着圈、俳佪,風很大,吹得有點冷。
1046 words
|
5 minutes
Catching Dust, Finding Hikari
我有目的性地寫了這篇 Blog,大槪是因爲發現自己兪發想不起過去了。
8605 words
|
43 minutes
Lens: An Elegant Way to Operate on Complex Data Structures
A deep dive into Haskell Optics. Learn how to derive Van Laarhoven Lenses, Prisms, and Traversals from scratch, and discover how to build a robust Opaque Optics system with better composition and compiler error messages using type-level programming.
5234 words
|
26 minutes
Type-Level Magic: A Type-Safe Stack DSL in Haskell
2026-02-26
Building a Haskell stack DSL that rejects invalid programs at compile time.
3806 words
|
19 minutes
My June in 2025
2025-07-06
Some experiences, random thoughts and discoveries in June 2025.
1823 words
|
9 minutes
Useful Github Projects
2025-07-04
A collection of useful Github projects for various tasks.
138 words
|
1 minute
1
2