-
Notifications
You must be signed in to change notification settings - Fork 25
Description
I'm experiencing an issue with Floskell where the type-level cons operator ': is not being formatted correctly. Specifically, when I use the operator in a type signature, the apostrophe is being stuck to the preceding identifier, rather than being separated by a space.
I've tried adding the --extensions=TypeOperators flag to the Floskell configuration, but it didn't make a difference. I've also checked the Floskell documentation, but couldn't find any mention of this issue.
Here's an example of the code that's not being formatted correctly:
runModPortal ::
(Members '[Embed IO, Error PortalError] r) => -- formatted correctly
Sem (ModPortal ': r) a -> -- apostrophe stuck to ModPortal
Sem r aI'm using the Haskell.haskell extension for VS Code, which comes with Floskell as its formatting engine. I'm not sure if this issue is specific to the VS Code integration or if it's a general Floskell issue.
I'd appreciate it if someone could take a look at this issue and provide a solution or workaround. Thank you!