purescript / purescript/trypurescript
Compilation stuck/errors on occurence of binding guards
Nobody has claimed this yet.
- Dominant language
- PureScript
- Stars
- 121
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
Trying to compile this minimal example:
module Main where
x | _ <- 1 = 1
page either gets stuck on loading logo (https://try.purescript.org) or returns this error (https://try.ps.ai):
bad result. Likely communication issue with compiler: POST compile response failed to decode: There was a problem making the request: AJAX request failed: POST https://compile.purescript.org/compile
where response to request is 500 Internal Server Error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the minimal PureScript example in try.purescript.org and try.ps.ai, then inspect the compile request path and the POST /compile response handling. Trace whether the binding guard reaches the compiler or causes the 500 and decode failure. Done means the example no longer hangs or returns a 500, with regression coverage where the relevant path is found.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100