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

This is a bit of a brain dump... We currently have a fork of stylish-haskell that matches the coding style we use at Silk. It does pretty specific things, like...

stylish-haskell fails on the following: ``` {-# LANGUAGE GADTs #-} data Foo a where Foo :: (Eq a) => { fooBar :: [a], fooBaz :: Int } -> Foo a...

I've encountered the issue while working with mutually recursive modules as described here: https://downloads.haskell.org/~ghc/7.0.3/docs/html/users_guide/separate-compilation.html

I am trying to run stylish-haskell under Bazel, which does not set the `HOME` env variable. It fails with: ``` stylish-haskell: HOME: getXdgDirectory:getHomeDirectory:getEnv: does not exist (no environment variable) ```

I'd love to be able to configure stylish-haskell with Dhall! Here is a collection of Dhall files, not really tested at all, just scrapped together: https://github.com/mitchellwrosen/dhall-stylish-haskell However, if there's any...

For example I would like to format imports as follows: ```haskell import qualified Network.HTTP.Client.Internal.Types as Client (Request, host, method, path, port, queryString, requestBody, requestHeaders) ``` But with current options, I...

For a while we've been looking for a formatting style for import lists which reduces noise from whitespace changes when using Stylish-Haskell. Looking at the list of options available we've...

Is there an option in the config file that I can turn on for the formatter to ignore an entire directory and/or project? My use case is with using vim-stylish-haskell...

Specifically, it doesn't appear to support literate haskell in latex mode.

This would be useful for things like #107.