Skip to content

Expose "format" function in Sylish.hs #259

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

Merged
merged 3 commits into from
Jan 26, 2020

Conversation

lukasz-golebiewski
Copy link
Member

It's going to be needed for the haskell-ide integration

It's going to be needed for the haskell-ide integration
Copy link
Contributor

@EncodePanda EncodePanda left a comment

Choose a reason for hiding this comment

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

excited

@@ -91,3 +93,13 @@ runStep exts mfp ls step =
runSteps :: Extensions -> Maybe FilePath -> [Step] -> Lines
-> Either String Lines
runSteps exts mfp steps ls = foldM (runStep exts mfp) ls steps

newtype ConfigPath = ConfigPath { unConfigPath :: FilePath }
Copy link
Contributor

Choose a reason for hiding this comment

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

I love the newtype added. Type safety for the win :)

, testCase "case 02" case02
, testCase "case 03" case03
]

Copy link
Contributor

Choose a reason for hiding this comment

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

remove those two empty lines maybe?

@lukasz-golebiewski lukasz-golebiewski merged commit b501e5c into haskell:master Jan 26, 2020
@lukasz-golebiewski lukasz-golebiewski deleted the expose-format branch January 26, 2020 11:36
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.

3 participants