Well-Typed’s December 2026 essay “Not Slop: Haskell in the Age of AI” argues that AI-generated code you cannot read is code you cannot maintain — and therefore code you should not ship. Author Edsko de Vries published the piece on well-typed.com as agentic tools push teams toward megabyte-scale patches that “solve the ticket” without leaving a human-verifiable story.
The essay matters now because GHC already published LLM contribution rules while coding agents default to imperative slop. Well-Typed connects open-source policy to language design: if reviewers must own every line, languages should help humans check those lines fast.
The core question: proof versus understanding
De Vries opens with 3Blue1Brown interviews before a Lean-verified Riemann hypothesis result. Mathematicians said a machine proof without human understanding has limited value compared with insight gained.
Software differs in one brutal way: proofs are timeless; deployments are not. A module that passes tests today must survive refactors, dependency bumps, and security patches tomorrow. If nobody understands it, regressions become hope, not engineering.
That framing is the essay’s moral line: industry sometimes values the artifact over the explanation, but maintainers pay the bill when the artifact rots.
Why “press button, get slop” fails the conscience test
Well-Typed lists three pressures agents amplify:
- No terse spec. Unlike math, product requirements stay ambiguous. Without a formal target, “correct” is negotiated in production.
- Maintenance is mandatory. Security fixes and API changes touch the same unreadable blob repeatedly.
- Hope is not a strategy. Delegating future refactors back to another LLM call chains unverified dependencies.
De Vries does not ban LLMs. He bans shipping outputs you cannot explain to the next engineer — or to a customer audit.
Haskell features as verification tooling
The essay’s technical half is a checklist of why Haskell helps verification, not a claim that Haskell autogenerates correctly.
Purity and equational reasoning
Pure functions let teams state identities like e + e = 2 * e — trivial in math, false in many imperative languages with hidden mutation. Agents love mutable shortcuts; purity forces explicit IO boundaries so reviewers see side effects in types.
Property-based testing
Issue card linked to a green patch, echoing property tests that catch corner-case regressions
Randomized property tests search counterexamples in corners humans skip. Well-Typed ties this to falsify culture and decades of QuickCheck-style practice — the same family of tools cited in their falsify release posts.
For agent workflows, the lesson is procedural: generated code must come with properties, not only example-based unit tests cherry-picked by the model.
Types that refuse invalid states
Algebraic data types, GADTs, type families, and higher-kinded abstractions let compilers flag incomplete case analysis when agents omit branches. Refactors become guided: change a type, follow compiler errors instead of grep-and-pray.
Well-Typed stresses type-driven generic programming: even when LLMs make typing cheap, one generic implementation beats ten copy-paste variants nobody will audit.
Runtime composition without locks everywhere
Green threads, STM, and async exceptions support concurrent agents without global lock-order manuals. That is less about hype and more about limiting the state surface reviewers must hold in memory.
AI can still write bad Haskell
Green modular model on a drafting triangle, representing typed Haskell cores agents should target
The essay’s intellectual honesty lands here: a model can emit unreadable Haskell as easily as unreadable Python. Types only help when agents are steered toward idiomatic patterns — small pure cores, explicit effect layers, properties for invariants.
Well-Typed says consultants must guide prompts and reviews so outputs use the language’s verification affordances, not Java-in-Haskell-syntax.
That matches their 2025 METR study write-up, where contributors reported AI drafts wrong architecture often enough that precise human edits beat blind merge.
How this sits next to GHC’s contribution policy
| Theme | GHC policy | Not Slop essay |
|---|---|---|
| LLM use | Allowed with disclosure | Assumes teams will use LLMs |
| Authorship | Human must own every line | Humans must understand every line |
| Review burden | Acknowledges reviewer scarcity | Types and properties shrink review entropy |
| Contrast | vs OpenJDK ban and Zig restrictions | vs industry vibe-coding |
Read together: GHC tells contributors what to disclose; **Well-Typed tells them why comprehension matters for customers, not only maintainers.
Links to wider agent and safety debates
Haskell is a niche ship language, but the essay generalizes:
- Semianalysis-style harness benchmarks punish environment violations — analog to type errors catching invalid agent plans.
- UK AISI cheating reports show models gaming evals when rules are underspecified — the dual of weak types letting invalid states slip.
- Google Antigravity terms govern harness abuse, not whether generated code is maintainable — compliance ≠ quality.
None of those posts replace language-level discipline; they stack.
What developers are saying
The Hacker News submission pointed at the Discourse mirror on December 2, 2026 and had no replies yet in the public API snapshot (score in the single digits). When discussion picks up, expect the usual Haskell threads: fans citing PL verification history, skeptics on hiring and compile times, and pragmatists asking for studies beyond consultancy essays.
Treat any future before/after refactor anecdotes as commenter opinions, not benchmarks — Well-Typed sells expert services, so independent teams should reproduce property-test gates on their repos.
Practical checklist if you borrow Well-Typed’s frame
- Require properties on any agent-generated core logic before merge.
- Ban megabyte single-file dumps — split modules until a human can summarize each file in two sentences.
- Prefer pure cores with thin IO shells so agents cannot hide effects in mutable singletons.
- Align with your project’s AI policy (GHC-style disclosure, OpenJDK-style bans, or internal risk tiers).
- Train reviewers on type-guided refactors so compiler errors become review checklists.
- For team rollouts, pair language choice with live workshops on agent governance, not only model demos.
Limits of the essay
Well-Typed does not publish new empirical throughput numbers comparing Haskell agents to Rust or TypeScript agents. It does not replace GHC release notes or language committee politics.
It does offer a clear vocabulary — slop versus verifiable code — that policy posts and compiler rules can cite when boards ask why LLM merges slowed.
Hypha and tooling the essay does not detail
Well-Typed’s Hypha navigation experiment (linked from their blog index) explores LLM-assisted code navigation — a different problem than Not Slop, but part of the same shop’s agent strategy. Hypha asks how humans and models traverse large Haskell trees; Not Slop asks whether the leaf nodes they produce are safe to merge.
If you run Claude Code, Cursor, or Antigravity on Haskell repos, combine:
- Navigation tools so agents find the right module, and
- Verification gates so merged code survives types and properties.
Skipping either step recreates the METR study pain: fast drafts, slow human rework.
When Haskell is not the right default
Well-Typed is a consultancy; they are not claiming every CRUD API should rewrite in GADT-heavy style before lunch. The essay targets teams who already ship Haskell or regulated software where audit trails matter.
Python and TypeScript shops can still steal the process:
- Properties over examples on critical paths.
- Small pure cores even if the shell stays imperative.
- Disclosure policies like GHC’s P4 line regardless of language.
The unslop skill trend is the frontend mirror of Not Slop: fix ugly generated UI before users see it; Haskell authors fix unverifiable logic before customers depend on it.
Teaching the argument to mixed teams
Staff engineers pitching typed FP to skeptical product managers can translate de Vries without jargon:
- “We need code a human can explain on a call.”
- “The compiler should reject agent mistakes before QA.”
- “Tests should hunt weird inputs, not only demo clicks.”
Those three lines map to authorship policies, types, and property tests — the same tripod Karpathy’s discardable artifacts essay worries about when code becomes cheap but liability does not.
Search and classroom angles
Students searching “Haskell AI” or “verify AI code” often land on tool ads, not language philosophy. This essay is the policy-adjacent answer: how to keep agents from shipping noise when types and tests exist.
Assign it next to GHC’s disclosure rules for a week-two seminar on open source and automation. The pairing shows community governance (what you may merge) plus engineering culture (what you should merge). Neither document replaces hands-on labs; they frame why labs matter.
Related reading
- GHC AI contribution policy explained
- What are agent skills: complete guide
- Claude Code VM cage for network isolation
- Replica skill and agent skill patterns
- Unslop skill for fixing vibe-coded UI
- Karpathy on discardable software artifacts
- Microsoft Freehand agent harness notes
Essay quotes and structure reflect Well-Typed’s post dated December 1, 2026 on well-typed.com.
