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

Generalize formatter plugin support, add Floskell #42

Merged
merged 7 commits into from
Feb 17, 2020

Conversation

alanz
Copy link
Collaborator

@alanz alanz commented Feb 6, 2020

First pass only, need to (re-)enable tests, and find a way of selecting between
multiple formatters. Apart from only installing a single formatter plugin.

Note: this PR currently depends on #41, so is much noisier than it should be.

Published as a "show and tell"

alanz added 2 commits February 7, 2020 20:04
First pass only, need to (re-)enable tests, and find a way of selecting between
multiple formatters. Apart from only installing a single formatter plugin.
@alanz alanz force-pushed the add-floskell-formatter branch from 8cb8551 to ab1ef25 Compare February 9, 2020 21:13
@alanz alanz mentioned this pull request Feb 16, 2020
The floskell formatting is not correct, but this is initially about getting the
plugin machinery into place.
@alanz alanz marked this pull request as ready for review February 17, 2020 19:56
@alanz alanz merged commit 80bc2e8 into haskell:master Feb 17, 2020
@alanz alanz deleted the add-floskell-formatter branch February 17, 2020 19:57
Comment on lines +117 to +121
lookupBiosComponentOptions :: (Monad m) => NormalizedFilePath -> m (Maybe BIOS.ComponentOptions)
lookupBiosComponentOptions _fp = do
-- gmc <- getModuleCache
-- return $ lookupInCache fp gmc (const Just) (Just . compOpts) Nothing
return Nothing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is that? Looks like an artefact

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be reinstated at some point

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

Successfully merging this pull request may close these issues.

2 participants