Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow tabs as indentation#4580

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
artemisSystem wants to merge2 commits intopurescript:master
base:master
Choose a base branch
Loading
fromartemisSystem:master

Conversation

artemisSystem
Copy link

@artemisSystemartemisSystem commentedJun 13, 2025
edited
Loading

Description of the change

Allow tabs as indentation in purescript source files. Implemented as suggested by@rhendric inthis comment. Only difference is that i didn't addHDelta|VDelta, i addedPosDelta, which is asVDelta was described. I found it redundant to have aHDelta when that could instead be represented as a "VDelta" with 0 lines and 0 tabs.

I was unsure about the usage of! andUNPACK pragmas in data declarations, so let me know if any of those should be done differently.

Marked as draft because i have not implemented tests yet, but the code itself is ready for review.

Closes#3939


Checklist:

  • Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@artemisSystem
Copy link
Author

For a quick test, i cloned purescript-lists and used vscode to change the indentation to tabs. After doing that for all the files, it still compiled just fine.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Proposal: Allow U+0009 in source files
1 participant
@artemisSystem

[8]ページ先頭

©2009-2025 Movatter.jp