You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
makeSem ''MyData
deriveJSON
Expected output haskell
makeSem ''MyData
deriveJSON
Actual output haskell
$makeSem ''MyData
$deriveJSON
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: