{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreib3hyvcprzgs5lp65xpsl5mkr7j2cahedsdfdi6wtbomh7hv6x6ve",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mgr4oeepdmh2"
  },
  "path": "/t/compilation-error-using-microhs-main-c-eval-c/13777#post_2",
  "publishedAt": "2026-03-10T17:34:39.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "The solution here was to set `MHSDIR`\n\n\n     with-env { MHSDIR:\"../MicroHs\" } { ( ../MicroHs/bin/mhs\n      app/Main.hs -o out ) }\n    :  ./out\n    Hello, Haskell!\n",
  "title": "Compilation error using MicroHS (main.c eval.c)"
}