lspitzner / lspitzner/brittany
Comment walks to the right each time formatted
Open
Nobody has claimed this yet.
bug
- Dominant language
- Haskell
- Stars
- 686
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Paste this example into https://hexagoxel.de/brittany/
module WalkingComment where
fetchAssessmentAnswersForSchool
:: MonadIO m
=> SchoolId
-> SqlPersistT
m
[ -- Keep clicking format and watch this comment walk to the right...
( Value MathAssessmentAssignmentSessionId
, Value UTCTime -- Created at
, Value FQId
, Value NameComponent -- Student first name
, Value NameComponent -- Student last name
, Value Text -- Teacher full name
, Value UTCTime -- Updated at
, Entity AssessmentAnswer
)
]
fetchAssessmentAnswersForSchool = undefined
Every time you click format, the "Keep clicking" comment walks one column to the right.
Kind of funny to watch 😂
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 issue in the linked Brittany web formatter using the Haskell snippet and repeatedly click format. Trace the comment indentation behavior from this entry point; done means formatting the same input repeatedly no longer moves the comment to the right.
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
- 45/100