stylish-haskell icon indicating copy to clipboard operation
stylish-haskell copied to clipboard

Haskell code prettifier

Results 137 stylish-haskell issues
Sort by recently updated
recently updated
newest added

I would find it useful to be able to align equals signs by padding them with spaces. For example ``` filter p (x:xs) | p x = x : filter...

If I've somehow missed how to turn it on in the configuration — I fully inspected the generated `~/.stylish-haskell.yaml` to no avail — but it currently seems it's not possible...

It'd be really cool if stylish-haskell could support files that uses c2hs. I'm mainly looking for support for making imports stylish. The `.chs` files include lines like ``` haskell {#pointer...

hsc2hs uses syntax like this: `#{const ...}` and currently stylish-haskell is failing to parse those, giving an error message like: `ParseFailed (SrcLoc ".hs" 37 31) "Parse error: #"`. Adding support...

it would be great to explicitly import functions and types. i mean, given ``` haskell import Module a:: M a = fun ``` it should generate the following import line...

Currently, `stylish-haskell` aligns import lists so that they all start in the same column. When adding new import statements with longer module names this thus changes all import statements with...

Language.Haskell.Stylish.Parse.parseModule: could not parse Google.hs: ParseFailed (SrcLoc {srcFilen ame = ".hs", srcLine = 1, srcColumn = 4}) "Parse error: {-# LANGUAGE" source: ``` haskell {-# LANGUAGE UnicodeSyntax #-} module Google...

Hello! There is parse error while parsing some files with imports inside of file (this is possible when using CPP extension). Example file, which is not parsed correctly can be...

Consider the following ``` haskell import qualified Control.Exception as E import Control.Monad import Control.Monad.Error import Database.MongoDB (Action, Pipe, Secs, access, close, connect', master, readHostPortM, runIOE) import qualified Database.MongoDB as BSON...

GHC has [an extension called UnicodeSyntax](http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/syntax-extns.html) that lets you use unicode symbols for various keywords in the Haskell syntax. It would be nice if I could automatically UnicodeSyntaxify code. This...

enhancement