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

code style #23

Open
2 of 3 tasks
KiaraGrouwstra opened this issue Feb 1, 2020 · 3 comments
Open
2 of 3 tasks

code style #23

KiaraGrouwstra opened this issue Feb 1, 2020 · 3 comments

Comments

@KiaraGrouwstra
Copy link
Owner

KiaraGrouwstra commented Feb 1, 2020

  • stylish-haskell using a VSCode plugin
  • ormolu also has a VSCode plugin, actually able to parse all my source files unlike stylish-haskell. (does want the newest ghc-lib-parser tho.)
  • use fn MyData {..} = whatever syntax to destructure data properties
@KiaraGrouwstra
Copy link
Owner Author

The version I installed thru Arch is old, so I tried a stack install stylish-haskell instead.
Given a binary was added to ~/.local/bin, I tried adding this to my PATH.

@KiaraGrouwstra
Copy link
Owner Author

that allowed me to run this thru VSCode now. two files (Utility, Orphanage) gave me an error refusing to make overlapping changes (only mentioned here which isn't about the general case), tho commenting the code it went thru on the imports.
close enough? ¯_(ツ)_/¯

@KiaraGrouwstra
Copy link
Owner Author

ormolu does fine. resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant