Skip to content

Improve do-notation indentation #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Conversation

Futarimiti
Copy link
Contributor

@Futarimiti Futarimiti commented Aug 3, 2024

Correctly indent further statements in do-notation when the first statement is right after do.

Example:

do_ :: IO ()
do_ = do  putStrLn "abc"
>>>>>>>>>>putStrLn "def"

This fixes #32.

Futarimiti and others added 3 commits August 3, 2024 23:57
correctly indent further statements in do-notation when the first statement is right after `do`
@Futarimiti Futarimiti marked this pull request as ready for review August 4, 2024 02:20
@itchyny itchyny merged commit 6e645ed into itchyny:master Oct 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

do notation won't indent in specific case
2 participants