When using the polysemy package in Haskell and formatting code in VS Code, the formatter adds a $ symbol to the makeSem function, making the code invalid. This occurs when the makeSem function is used without arguments, for example: makeSem ''ModFiles.
It's the same with the deriveJSON generator from aeson
Problem
Description of problem here.
When using the polysemy package in Haskell and formatting code in VS Code, the formatter adds a $ symbol to the makeSem function, making the code invalid. This occurs when the makeSem function is used without arguments, for example: makeSem ''ModFiles.
It's the same with the deriveJSON generator from aeson
Input haskell
Expected output haskell
Actual output haskell