Skip to content
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

Switch to fmtTrim by default #145

Open
guibou opened this issue Jan 3, 2025 · 0 comments
Open

Switch to fmtTrim by default #145

guibou opened this issue Jan 3, 2025 · 0 comments
Assignees

Comments

@guibou
Copy link
Owner

guibou commented Jan 3, 2025

GHC 9.12 introduced multi-line string, see https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/multiline_strings.html. By default they are doing whitespace trimming.

I propose to change PyF in order to:

  • Deprecated the str quasiquote in GHC >=9.12
  • Change the whitespace trimming of PyF so it behaves exactly as GHC multiline string
  • Switch fmt to always do whitespace trimming (ghc multline string are always whitespace trimmed)
  • Deprecated xxxTrim functions.
@guibou guibou self-assigned this Jan 3, 2025
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

No branches or pull requests

1 participant