lspitzner / lspitzner/brittany
Comments on return value tuple gets messed up
Open
Nobody has claimed this yet.
bug
hs:comments
layouting
- Dominant language
- Haskell
- Stars
- 686
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Paste this into: https://hexagoxel.de/brittany/
doFuncDefine
:: Type1
-> String
-> [SpanW (String, Type1)]
-> Span
-> [Func]
-> Either Error ([Func] -- Funcs Table with this function added in
,[Symbol] -- Local Symbol Table
,[Stmt] -> [Func] -- Return function
)
Outputs:
doFuncDefine
:: Type1
-> String
-> [SpanW (String, Type1)]
-> Span
-> [Func]
-> Either Error ([ -- Funcs Table with this function added in
Func], [ -- Local Symbol Table
Symbol], [Stmt] -> [Func] -- Return function
)
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
Start by reproducing the example at https://hexagoxel.de/brittany/ and compare the formatted output with the input. Trace the formatter path handling comments inside the tuple return type, then verify that the comments remain associated with their original tuple elements and the layout is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100