explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • The core question: proof versus understanding
  • Why “press button, get slop” fails the conscience test
  • Haskell features as verification tooling
  • AI can still write bad Haskell
  • How this sits next to GHC’s contribution policy
  • Links to wider agent and safety debates
  • What developers are saying
  • Practical checklist if you borrow Well-Typed’s frame
  • Limits of the essay
  • Hypha and tooling the essay does not detail
  • When Haskell is not the right default
  • Teaching the argument to mixed teams
  • Search and classroom angles
  • Related reading
← Back to blog

explainx / blog

Not Slop: Well-Typed on Haskell in the Age of AI

Haskell, AI Policy, Property Testing, Open Source, Coding Agents

Part of AI Policy and Regulation

Well-Typed's December 2026 essay asks whether AI-generated code you cannot understand is safe to ship. It argues Haskell purity, types, and property tests help verify agent output — and how that compares to GHC's contribution policy.

Dec 2, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
Not Slop: Well-Typed on Haskell in the Age of AI

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.

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

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:

  1. No terse spec. Unlike math, product requirements stay ambiguous. Without a formal target, “correct” is negotiated in production.
  2. Maintenance is mandatory. Security fixes and API changes touch the same unreadable blob repeatedly.
  3. 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 regressionsIssue 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 targetGreen 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

table · 3 cols
ThemeGHC policyNot Slop essay
LLM useAllowed with disclosureAssumes teams will use LLMs
AuthorshipHuman must own every lineHumans must understand every line
Review burdenAcknowledges reviewer scarcityTypes and properties shrink review entropy
Contrastvs OpenJDK ban and Zig restrictionsvs 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

  1. Require properties on any agent-generated core logic before merge.
  2. Ban megabyte single-file dumps — split modules until a human can summarize each file in two sentences.
  3. Prefer pure cores with thin IO shells so agents cannot hide effects in mutable singletons.
  4. Align with your project’s AI policy (GHC-style disclosure, OpenJDK-style bans, or internal risk tiers).
  5. Train reviewers on type-guided refactors so compiler errors become review checklists.
  6. 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:

  1. “We need code a human can explain on a call.”
  2. “The compiler should reject agent mistakes before QA.”
  3. “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.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime

People in this article

  • Andrej Karpathy →AI researcher and educator
Explore people in AI →
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Haskell
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Oct 29, 2026

GHC's AI Contribution Policy: Disclose, Own Every Line, and How It Compares With OpenJDK, Zig and Linux

GHC allows LLM-assisted patches if a human author understands and can explain every line, discloses direct generation, and keeps reviewer discussion human. Serokell walks through the four rules, one preference and the open-source projects that chose differently.

Dec 2, 2026

Eugen Rochko Objections to AI: Mastodon Founder Essay Explained

Eugen Rochko, who led Mastodon for a decade before stepping down in 2025, published Objections to AI as a living document targeting large language models. He groups ethical, personal, and societal harms, and Hacker News turned the essay into a 277-point argument about labor, training data, and whether builders should opt out.

Dec 1, 2026

Google Antigravity Terms: Product Suspension Won't Ban Your Whole Account

After developers feared whole Google accounts would die because of Antigravity or Gemini experiments, Google clarified its Additional Terms of Service. Violations may suspend Antigravity only, with appeals, while listing forbidden harness proxying and permitted MCP or headless CLI workflows.