{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidd5ksbvkakka6ro4cxcd7ohq7lgiyelldalcu2fna6jibahqbvlu",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mnppct45yv22"
},
"path": "/t/i-built-a-web-language-with-haskell-like-syntax-for-fun/14214#post_3",
"publishedAt": "2026-06-07T15:47:59.000Z",
"site": "https://discourse.haskell.org",
"textContent": "That’s an interesting direction I hadn’t considered. Interpolating is technically separable from Haskell evaluation; it’s really just a matter of parsing the boundaries between HTML and embedded expressions. With Megaparsec, you could probably abstract it into a generic interface with its own built-in evaluator. I’m not sure how clean it would be in practice, but it’s worth exploring. Would you be interested in something like that?",
"title": "\"I built a web language with Haskell-like syntax for fun."
}