{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreici7sf3ciwpq4h44ewphoxjajvdgvjm4yara37s5gjtfkag63k4zy",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mhrwbqdg2n32"
},
"path": "/t/parse-literate-haskell-file/13839#post_1",
"publishedAt": "2026-03-23T22:07:19.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"parseModuleEpAnnsWithCppInternal",
"doctest-parallel",
"a point"
],
"textContent": "tldr: is it possible to parse a literate Haskell file with parseModuleEpAnnsWithCppInternal?\n\nlonger question: I’m trying to contribute to doctest-parallel so that it is able to handle literate Haskell files.\n\nCurrently I get to a point where `parseModuleEpAnnsWithCppInternal` is called and fails with the following error message\n\n\n parse error on input `>'\n\n\nindicating that it is not able to parse a literate Haskell file. Is there a way to parse a literate Haskell file this way? Maybe setting something in the `CppOptions` or in the `DynFlags` arguments?",
"title": "Parse literate Haskell file"
}