cd /news/developer-tools/rfc-yamlet-a-yaml-1-2-library · home › topics › developer-tools › article
[ARTICLE · art-144744] src=discourse.haskell.org ↗ pub= topic=developer-tools verified=true sentiment=· neutral

[RFC] yamlet: a YAML 1.2 library

Developer arybczak released an RFC for yamlet, a YAML 1.2 library for Haskell offering fast encoding and decoding, structure preservation including comments, and generic deriving that compiles to efficient code for common data type shapes. The library was stress-tested against Claude Opus 5.5 and used to build haskell-gha without workarounds, with the author soliciting API feedback before the first release. Documentation is largely Claude-generated with doctests included.

read1 min views1 publishedOct 4, 2026

I’ve been stress-testing Claude Opus 5.5 and thought a YAML library with a good API would fill a hole in the ecosystem. The result:

In short, yamlet is a YAML 1.2 library with fast encoding/decoding, preservation of structure (including comments where you want them) and support for generic deriving that compiles to good code for common shapes of data types.

If anyone was doing YAML processing in Haskell and found it lacking, have a look at the API. It was good enough for me to make haskell-gha without any workarounds, but if I missed something, I’d like to know before the first release. Documentation is mostly Claude-generated, so expect an odd wording here and there, but there’s also plenty of doctests.

── more in #developer-tools 4 stories · sorted by recency
── more on @yamlet 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/rfc-yamlet-a-yaml-1-…] indexed:0 read:1min 2026-10-04 · —