Philipp :emacs: :nixos: on Nostr: Is there any way to let #haskell's haddock execute code inside the documentation, ...
Is there any way to let #haskell's haddock execute code inside the documentation, checking it compiles, so we can have nice code examples in the docs?
Published at
2024-08-16 08:59:00Event JSON
{
"id": "a353c8ae485e361036a9e104b05329a854e411468c1d7301c355a78ff64dfee6",
"pubkey": "ae0cf5bfd224a63f32a62be4a67cf73d28ae7c27a401f627bbcb2bcc7733d526",
"created_at": 1723798740,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@pmidden/112970874229719489",
"web"
],
[
"t",
"haskell"
],
[
"proxy",
"https://fosstodon.org/users/pmidden/statuses/112970874229719489",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/pmidden/statuses/112970874229719489",
"pink.momostr"
],
[
"-"
]
],
"content": "Is there any way to let #haskell's haddock execute code inside the documentation, checking it compiles, so we can have nice code examples in the docs?",
"sig": "9bde2615c9f724bbc72f73eef2bf1ad5020397811be5aff9cba960e8da584ff53a14079c0a9414384d9952d348804682eeed73674f675aac400de9ca7f9e0e01"
}